alloy_primitives::aliases

Type Alias B64

Source
pub type B64 = FixedBytes<8>;
Expand description

8-byte fixed byte-array type.

Aliased Type§

struct B64(pub [u8; 8]);

Fields§

§0: [u8; 8]

Trait Implementations§

Source§

impl From<Signed<64, 1>> for B64

Source§

fn from(value: I64) -> Self

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

Source§

impl From<Uint<64, 1>> for B64

Source§

fn from(value: U64) -> Self

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

Source§

impl From<i64> for B64

Source§

fn from(value: i64) -> Self

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

Source§

impl From<u64> for B64

Source§

fn from(value: u64) -> Self

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