Expand description
Implements the basic reader/writer functionality for HFF.
Structs
- Act as a ReadSeek IO object for purposes of having an entire HFF in memory at one time.
- A view to a chunk.
- 8 character code.
- The Hff structure data. This is an immutable representation of the content of an Hff stream.
- Description of hff and content.
- Implements a std reader wrapper around the source.
- View of a table.
Traits
- A wrapper trait with a blanket implementation for any type which supports both Read and Seek. The data source of the Hff must support this in order to retrieve metadata or chunk’s from the stream. If the stream is not Seek, either use the provided
_full
variation which will return the ChunkCache or otherwise store the entire file somewhere which can be accessed with Seek. - Helper trait for lazy writing.
- Writer trait for HffDesc.
Functions
- Create a new builder instance.
- Build a new chunk.
- Build the structure of the Hff content.
- Read the structure of a Hff into memory. Provides access only to the structure without any of the metadata or chunk data available.
- Opens the input and maintains it for random access to the metadata and chunks.
- Reads an entire Hff into memory.
- Start building a new table.
Type Aliases
- Native Endian.
- Opposing Endian.
- The standard result type used in the crate.