Module fuel_types::bytes
source · Expand description
Word-aligned bytes serialization functions.
Constants§
- Size of a word, in bytes
Functions§
- Return the word-padded length of the buffer. Returns None if the length is too large to be represented as usize.
- Return the word-padded length of an arbitrary length. Returns None if the length is too large to be represented as usize.
- Return the word-padded length of an arbitrary length. Returns None if the length is too large to be represented as
Word
.