Crate bufferfish_core

Source

Re-exports§

pub use decodable::Decodable;
pub use encodable::Encodable;

Modules§

decodable
Base trait for types that can be decoded from a Bufferfish. Implements decoding for primitive types.
encodable
Types implementing this trait are able to be encoded to a Bufferfish. Implements encoding for primitive types.

Structs§

Bufferfish
A wrapper around a Cursor<Vec<u8>> that provides a simple API for reading and writing bytes. This is meant to be used with its companion library in TypeScript to provide consistent encoding and decoding interop.

Enums§

BufferfishError
Errors that can occur when encoding or decoding a Bufferfish.