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