Type Definition alloy_primitives::aliases::U16

source ·
pub type U16 = Uint<16, 1>;
Expand description

Uint for 16 bits. Similar to u16.

Trait Implementations§

source§

impl From<FixedBytes<2>> for U16

source§

fn from(value: B16) -> Self

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