Expand description
pufu - top-level crate for pufu
Structs§
- Config
- Config carrying magic, version, and endianness for encode/decode.
- Config
Builder - Builder for Config.
- Decoder
- Decoder for reading binary payloads produced by
Encoder. - Encoder
- Encoder for building binary payloads. Holds Config (magic, version, endian); accumulates fixed region, variable-entry lengths, and data region.
Enums§
- Codec
Error - Errors returned by encoding/decoding operations.
- Data
Mode - Describes how a type is encoded in the payload.
- Endian
- Endianness used when encoding/decoding fixed-width values.
Traits§
- Data
Type - Defines how a type contributes fixed or variable data to an encoder.
- Decode
- Decodes a single field from a decoder and exposes a view into the buffer.
- Encode
- Encodes a single field into the provided encoder.
- Fixed
Decode - Decodes fixed-width values from a byte slice.
- NotU8