Crate hff_core

Source
Expand description

HFF Core Contains the internal structure of HFF and basic serialization abilities.

Re-exports§

pub use byteorder;
pub use uuid;

Modules§

read
Higher level wrapping over the structure in order to support reading hff files.
utilities
Simple helpers for working with Hff data, primarilly metadata.
write
Higher level support for writing hff files.

Structs§

Chunk
Specifies a chunk of data within the file.
ChunkCache
Act as a ReadSeek IO object for purposes of having an entire HFF in memory at one time.
Ecc
8 character code.
Header
The file header.
Identifier
An identifier for the tables and chunks.
Table
A table entry in the file format. Tables are 48 bytes in length when stored.
Version
Version of the file format.

Enums§

Endian
Runtime endianess values.
Error
Common error type.
IdType
Identifier type as specified in the hff header. This has no impact on behavior at all, it is only a hint to the end user about how to use/view the ID’s.

Constants§

NATIVE_ENDIAN
The runtime native endian.
OPPOSING_ENDIAN
The runtime opposing endian.

Traits§

ByteOrder
The byte order trait. ByteOrder describes types that can serialize integers as bytes.
ContentInfo
Information about the metadata or chunk data contained within the source.

Type Aliases§

BE
Big Endian.
LE
Little Endian.
NE
Native Endian.
OP
Opposing Endian.
Result
The standard result type used in the crate.