crypto_bigint

Trait ArrayDecoding

Source
pub trait ArrayDecoding {
    type Output: ArrayEncoding + Integer;

    // Required methods
    fn into_uint_be(self) -> Self::Output;
    fn into_uint_le(self) -> Self::Output;
}
Expand description

Support for decoding a GenericArray as a big integer.

Required Associated Types§

Source

type Output: ArrayEncoding + Integer

Big integer which decodes a GenericArray.

Required Methods§

Source

fn into_uint_be(self) -> Self::Output

Deserialize from a big-endian GenericArray.

Source

fn into_uint_le(self) -> Self::Output

Deserialize from a little-endian GenericArray.

Implementations on Foreign Types§

Source§

impl ArrayDecoding for GenericArray<u8, U8>

Source§

type Output = UInt<{nlimbs!($bits)}>

Source§

fn into_uint_be(self) -> Self::Output

Source§

fn into_uint_le(self) -> Self::Output

Source§

impl ArrayDecoding for GenericArray<u8, U16>

Source§

type Output = UInt<{nlimbs!($bits)}>

Source§

fn into_uint_be(self) -> Self::Output

Source§

fn into_uint_le(self) -> Self::Output

Source§

impl ArrayDecoding for GenericArray<u8, U24>

Source§

type Output = UInt<{nlimbs!($bits)}>

Source§

fn into_uint_be(self) -> Self::Output

Source§

fn into_uint_le(self) -> Self::Output

Source§

impl ArrayDecoding for GenericArray<u8, U32>

Source§

type Output = UInt<{nlimbs!($bits)}>

Source§

fn into_uint_be(self) -> Self::Output

Source§

fn into_uint_le(self) -> Self::Output

Source§

impl ArrayDecoding for GenericArray<u8, U48>

Source§

type Output = UInt<{nlimbs!($bits)}>

Source§

fn into_uint_be(self) -> Self::Output

Source§

fn into_uint_le(self) -> Self::Output

Source§

impl ArrayDecoding for GenericArray<u8, U56>

Source§

type Output = UInt<{nlimbs!($bits)}>

Source§

fn into_uint_be(self) -> Self::Output

Source§

fn into_uint_le(self) -> Self::Output

Source§

impl ArrayDecoding for GenericArray<u8, U64>

Source§

type Output = UInt<{nlimbs!($bits)}>

Source§

fn into_uint_be(self) -> Self::Output

Source§

fn into_uint_le(self) -> Self::Output

Source§

impl ArrayDecoding for GenericArray<u8, U72>

Source§

type Output = UInt<{nlimbs!($bits)}>

Source§

fn into_uint_be(self) -> Self::Output

Source§

fn into_uint_le(self) -> Self::Output

Source§

impl ArrayDecoding for GenericArray<u8, U96>

Source§

type Output = UInt<{nlimbs!($bits)}>

Source§

fn into_uint_be(self) -> Self::Output

Source§

fn into_uint_le(self) -> Self::Output

Source§

impl ArrayDecoding for GenericArray<u8, U112>

Source§

type Output = UInt<{nlimbs!($bits)}>

Source§

fn into_uint_be(self) -> Self::Output

Source§

fn into_uint_le(self) -> Self::Output

Source§

impl ArrayDecoding for GenericArray<u8, U128>

Source§

type Output = UInt<{nlimbs!($bits)}>

Source§

fn into_uint_be(self) -> Self::Output

Source§

fn into_uint_le(self) -> Self::Output

Source§

impl ArrayDecoding for GenericArray<u8, U192>

Source§

type Output = UInt<{nlimbs!($bits)}>

Source§

fn into_uint_be(self) -> Self::Output

Source§

fn into_uint_le(self) -> Self::Output

Source§

impl ArrayDecoding for GenericArray<u8, U224>

Source§

type Output = UInt<{nlimbs!($bits)}>

Source§

fn into_uint_be(self) -> Self::Output

Source§

fn into_uint_le(self) -> Self::Output

Source§

impl ArrayDecoding for GenericArray<u8, U256>

Source§

type Output = UInt<{nlimbs!($bits)}>

Source§

fn into_uint_be(self) -> Self::Output

Source§

fn into_uint_le(self) -> Self::Output

Source§

impl ArrayDecoding for GenericArray<u8, U384>

Source§

type Output = UInt<{nlimbs!($bits)}>

Source§

fn into_uint_be(self) -> Self::Output

Source§

fn into_uint_le(self) -> Self::Output

Source§

impl ArrayDecoding for GenericArray<u8, U448>

Source§

type Output = UInt<{nlimbs!($bits)}>

Source§

fn into_uint_be(self) -> Self::Output

Source§

fn into_uint_le(self) -> Self::Output

Source§

impl ArrayDecoding for GenericArray<u8, U512>

Source§

type Output = UInt<{nlimbs!($bits)}>

Source§

fn into_uint_be(self) -> Self::Output

Source§

fn into_uint_le(self) -> Self::Output

Source§

impl ArrayDecoding for GenericArray<u8, U768>

Source§

type Output = UInt<{nlimbs!($bits)}>

Source§

fn into_uint_be(self) -> Self::Output

Source§

fn into_uint_le(self) -> Self::Output

Source§

impl ArrayDecoding for GenericArray<u8, U1024>

Source§

type Output = UInt<{nlimbs!($bits)}>

Source§

fn into_uint_be(self) -> Self::Output

Source§

fn into_uint_le(self) -> Self::Output

Implementors§