Type Alias crypto_bigint::U64

source ·
pub type U64 = Uint<{ _ }>;
Expand description

64-bit unsigned big integer.

Aliased Type§

struct U64 { /* private fields */ }

Trait Implementations§

source§

impl Encoding for U64

source§

type Repr = [u8; 8]

Byte array representation.
source§

fn from_be_bytes(bytes: Self::Repr) -> Self

Decode from big endian bytes.
source§

fn from_le_bytes(bytes: Self::Repr) -> Self

Decode from little endian bytes.
source§

fn to_be_bytes(&self) -> Self::Repr

Encode to big endian bytes.
source§

fn to_le_bytes(&self) -> Self::Repr

Encode to little endian bytes.

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