alloy_primitives::aliases

Type Alias I256

Source
pub type I256 = Signed<256, 4>;
Expand description

256-bit signed integer type, consisting of 4, 64-bit limbs.

Aliased Type§

struct I256(/* private fields */);

Trait Implementations§

Source§

impl From<FixedBytes<32>> for I256

Source§

fn from(value: B256) -> Self

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

Source§

impl From<ParseUnits> for I256

Source§

fn from(value: ParseUnits) -> Self

Converts to this type from the input type.