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;
}
Available on crate feature hybrid-array only.
Expand description

Support for decoding a Array as a big integer.

Required Associated Types§

Source

type Output: ArrayEncoding + Integer

Big integer which decodes a Array.

Required Methods§

Source

fn into_uint_be(self) -> Self::Output

Deserialize from a big-endian Array.

Source

fn into_uint_le(self) -> Self::Output

Deserialize from a little-endian Array.

Implementations on Foreign Types§

Source§

impl ArrayDecoding for Array<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 Array<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 Array<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 Array<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 Array<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 Array<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 Array<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 Array<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 Array<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 Array<u8, U104>

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 Array<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 Array<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 Array<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 Array<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 Array<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 Array<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 Array<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 Array<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 Array<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 Array<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§