revm_interpreter::interpreter

Function num_words

Source
pub const fn num_words(len: usize) -> usize
Expand description

Returns number of words what would fit to provided number of bytes, i.e. it rounds up the number bytes to number of words.