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§

type Output: ArrayEncoding + Integer

Big integer which decodes a GenericArray.

Required Methods§

fn into_uint_be(self) -> Self::Output

Deserialize from a big-endian GenericArray.

fn into_uint_le(self) -> Self::Output

Deserialize from a little-endian GenericArray.

Implementors§

§

impl ArrayDecoding for GenericArray<u8, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

§

type Output = Uint<crypto_bigint::::uint::U8192::{constant#0}>

§

impl ArrayDecoding for GenericArray<u8, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

§

type Output = Uint<crypto_bigint::::uint::U4096::{constant#0}>

§

impl ArrayDecoding for GenericArray<u8, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

§

type Output = Uint<crypto_bigint::::uint::U6144::{constant#0}>

§

impl ArrayDecoding for GenericArray<u8, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

§

type Output = Uint<crypto_bigint::::uint::U2048::{constant#0}>

§

impl ArrayDecoding for GenericArray<u8, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

§

type Output = Uint<crypto_bigint::::uint::U3072::{constant#0}>

§

impl ArrayDecoding for GenericArray<u8, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>, B0>, B0>, B0>, B0>>

§

type Output = Uint<crypto_bigint::::uint::U3584::{constant#0}>

§

impl ArrayDecoding for GenericArray<u8, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

§

type Output = Uint<crypto_bigint::::uint::U1024::{constant#0}>

§

impl ArrayDecoding for GenericArray<u8, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>, B0>, B0>>

§

type Output = Uint<crypto_bigint::::uint::U1536::{constant#0}>

§

impl ArrayDecoding for GenericArray<u8, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>, B0>, B0>, B0>>

§

type Output = Uint<crypto_bigint::::uint::U1792::{constant#0}>

§

impl ArrayDecoding for GenericArray<u8, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>

§

type Output = Uint<crypto_bigint::::uint::U512::{constant#0}>

§

impl ArrayDecoding for GenericArray<u8, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>, B0>, B0>>

§

type Output = Uint<crypto_bigint::::uint::U576::{constant#0}>

§

impl ArrayDecoding for GenericArray<u8, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>, B0>>

§

type Output = Uint<crypto_bigint::::uint::U768::{constant#0}>

§

impl ArrayDecoding for GenericArray<u8, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>, B0>, B0>>

§

type Output = Uint<crypto_bigint::::uint::U896::{constant#0}>

§

impl ArrayDecoding for GenericArray<u8, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>

§

type Output = Uint<crypto_bigint::::uint::U256::{constant#0}>

§

impl ArrayDecoding for GenericArray<u8, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>>

§

type Output = Uint<crypto_bigint::::uint::U384::{constant#0}>

§

impl ArrayDecoding for GenericArray<u8, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>, B0>>

§

type Output = Uint<crypto_bigint::::uint::U448::{constant#0}>

§

impl ArrayDecoding for GenericArray<u8, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>

§

type Output = Uint<crypto_bigint::::uint::U128::{constant#0}>

§

impl ArrayDecoding for GenericArray<u8, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>>

§

type Output = Uint<crypto_bigint::::uint::U192::{constant#0}>

§

impl ArrayDecoding for GenericArray<u8, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>

§

type Output = Uint<crypto_bigint::::uint::U64::{constant#0}>