Trait eth_types::ToLittleEndian
source · pub trait ToLittleEndian {
// Required method
fn to_le_bytes(&self) -> [u8; 32];
}
Expand description
Trait used to convert a scalar value to a 32 byte array in little endian.
Required Methods§
sourcefn to_le_bytes(&self) -> [u8; 32]
fn to_le_bytes(&self) -> [u8; 32]
Convert the value to a 32 byte array in little endian.