Crate musli_common
source ·Expand description
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
- Trait used to govern allocations. Trait used to handle individual buffer allocations.
- A writer which buffers the writes before it outputs it into the backing storage.
- Helper types to set up a basic Müsli
Context. - A container which can store up to a fixed number of uninitialized bytes on the stack and read into and from it.
- Traits and utilities for dealing with integers.
- Trait for governing how a particular source of bytes is read.
- Functions for working with strings. The exported implementations change depending on if the
simdutf8feature is enabled. - Helpers for integrating musli with I/O types like std::io and std::io::Write.
- Trait for governing how a particular sink of bytes is written to.