Module miden_core::utils
source · Modules
- Feature-based re-export of common collection components.
- Feature-based re-export of common string components.
Structs
- A pointer type that uniquely owns a heap allocation of type
T
. - Pseudo-random element generator for finite fields.
- Implements ByteReader trait for a slice of bytes.
Enums
- Defines errors which can occur during deserialization.
- Defines errors which can occur when drawing values from a random coin.
Traits
- Defines how primitive values are to be read from
Self
. - Defines how primitive values are to be written into
Self
. - Defines how to deserialize
Self
from bytes. - Defines how to serialize
Self
into bytes.
Functions
- Converts and parses a Bound into an included u64 value.
- Transmutes a slice of
n
elements into a slice ofn
/N
elements, each of which is an array ofN
elements. - Transmutes a vector of
n
elements into a vector ofn
/N
elements, each of which is an array ofN
elements. - Returns an array of N vectors initialized with the specified capacity.
- Utility to convert a sequence of bytes to hex.
- Returns a vector of the specified length with un-initialized memory.