Skip to main content

Module low

Module low 

Source
Expand description

APIs for environments where allocations cannot be made.

These APIs require user-provided writers and allocators, and do not support shared pointers.

Functions§

access
Access a byte slice.
access_mut
Mutably accesses a byte slice.
access_pos
Access a byte slice with a given root position.
access_pos_mut
Mutably access a byte slice with a given root position.
deserialize
Deserialize a value from the given archived value.
from_bytes
Deserialize a value from the given bytes.
from_bytes_unchecked
Deserialize a value from the given bytes.
to_bytes_in_with_alloc
Serialize a value using the given allocator and write the bytes to the given writer.

Type Aliases§

LowDeserializer
A general-purpose deserializer suitable for environments where allocations cannot be made.
LowSerializer
A general-purpose serializer suitable for environments where allocations cannot be made.
LowValidator
A low-level validator.