Function fuel_types::bytes::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.