Expand description
Word-aligned bytes serialization functions.
Structs§
- Bytes
- A new type around
Vec<u8>with useful utilities and optimizations.
Constants§
- WORD_
SIZE - Size of a word, in bytes
Functions§
- padded_
len - Return the word-padded length of the buffer. Returns None if the length is too large to be represented as usize.
- padded_
len_ usize - Return the word-padded length of an arbitrary length. Returns None if the length is too large to be represented as usize.
- padded_
len_ word - Return the word-padded length of an arbitrary length.
Returns None if the length is too large to be represented as
Word.