Type Alias alloy_primitives::aliases::B512

source ·
pub type B512 = FixedBytes<64>;
Expand description

64-byte fixed byte-array type.

Aliased Type§

struct B512(pub [u8; 64]);

Fields§

§0: [u8; 64]

Trait Implementations§

source§

impl From<Signed<512, 8>> for B512

source§

fn from(value: I512) -> Self

Converts a fixed-width unsigned integer into a fixed byte array by interpreting the bytes as big-endian.

source§

impl From<Uint<512, 8>> for B512

source§

fn from(value: U512) -> Self

Converts a fixed-width unsigned integer into a fixed byte array by interpreting the bytes as big-endian.