Trait crypto_bigint::prelude::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
generic-array
only.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
.