Expand description
Word-aligned bytes serialization functions.
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.