pub trait ArrayDecoding {
    type Output: ArrayEncoding + Integer;

    // Required methods
    fn into_uint_be(self) -> Self::Output;
    fn into_uint_le(self) -> Self::Output;
}
Available on crate feature generic-array only.
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>

§

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>

§

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>

§

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>

§

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>

§

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>

§

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>

§

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>

§

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>

§

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, U104>

§

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>

§

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>

§

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>

§

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>

§

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>

§

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>

§

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>

§

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>

§

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>

§

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>

§

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

source§

fn into_uint_be(self) -> Self::Output

source§

fn into_uint_le(self) -> Self::Output

Implementors§