Type Alias U8

Source
pub type U8 = Uint<8, 1>;
Expand description

8-bit unsigned integer type, consisting of 1, 64-bit limbs.

Aliased Type§

struct U8 { /* private fields */ }

Trait Implementations§

Source§

impl From<FixedBytes<1>> for U8

Source§

fn from(value: B8) -> Self

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

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 8 bytes