Trait zkevm_keccak::util::eth_types::ToBigEndian
source · [−]pub trait ToBigEndian {
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.