Module fuel_types::bytes

source ·
Expand description

Word-aligned bytes serialization functions.

Constants§

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.