Crate musli_binary_common

Source
Expand description

github crates.io docs.rs build status

Common utilities used across different formats in Müsli.

The Reader and Writer traits are defined in here which determined the types that can be used in collaboration with Müsli.

Please refer to https://docs.rs/musli for documentation.

Modules§

encoding
Helpers for determining integer encoding at compile time.
fixed_bytes
A container which can store up to a fixed number of uninitialized bytes on the stack and read into and from it.
int
Traits and utilities for dealing with integers.
io
Helpers for integrating musli with I/O types like std::io and std::io::Write.
reader
Trait for governing how a particular source of bytes is read.
writer
Trait for governing how a particular sink of bytes is written to.

Macros§

decl_message_repr
Declare an error representation.