Trait crypto_bigint::prelude::ArrayDecoding
source · pub trait ArrayDecoding {
type Output: ArrayEncoding + Integer;
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§
sourcetype Output: ArrayEncoding + Integer
type Output: ArrayEncoding + Integer
Big integer which decodes a GenericArray
.
Required Methods§
sourcefn into_uint_be(self) -> Self::Output
fn into_uint_be(self) -> Self::Output
Deserialize from a big-endian GenericArray
.
sourcefn into_uint_le(self) -> Self::Output
fn into_uint_le(self) -> Self::Output
Deserialize from a little-endian GenericArray
.