fuel_types::bytes

Function padded_len

source
pub const fn padded_len(bytes: &[u8]) -> Option<usize>
Expand description

Return the word-padded length of the buffer. Returns None if the length is too large to be represented as usize.