Crate musli_utils

Source
Expand description

github crates.io docs.rs

Common utilities shared by Müsli encodings.

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§

allocator
github crates.io docs.rs
buf
Utilitioes for working with buffers.
context
Helper types to set up a basic Müsli Context.
fixed
Containers 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.
options
Serialization options.
reader
Trait for governing how a particular source of bytes is read.
wrap
Helpers for integrating musli with I/O types like std::io and std::io::Write.
writer
Trait for governing how a particular sink of bytes is written to.

Structs§

FixedBytes
A fixed-size bytes storage which keeps track of how much has been initialized.

Traits§

Reader
Trait governing how a source of bytes is read.
Writer
The trait governing how a writer works.

Type Aliases§

Options
Type encapsulating a static flavor of an encoding.