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