Type Definition U256
Other items inbinary_codec_sv2
type U256<'a> = Inner<'a, true, 32, 0, 0>;
impl<'a> Decodable<'a> for U256<'a>
fn get_structure(_: &[u8]) -> Result<Vec<FieldMarker>, Error>
fn from_decoded_fields(data: Vec<DecodableField<'a>>) -> Result<Self, Error>
fn from_bytes(data: &'a mut [u8]) -> Result<Self, Error>
fn from_reader(reader: &mut impl Read) -> Result<Self, Error>
impl<'decoder> From<[u8; 32]> for U256<'decoder>
fn from(v: [u8; 32]) -> Self
Performs the conversion.
impl<'a> TryFrom<DecodableField<'a>> for U256<'a>
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: DecodableField<'a>) -> Result<Self, Self::Error>
impl<'a> TryFrom<EncodableField<'a>> for U256<'a>
fn try_from(value: EncodableField<'a>) -> Result<Self, Self::Error>