B016M

Type Alias B016M 

Source
pub type B016M<'a> = Inner<'a, false, 1, 3, { _ }>;
Expand description

Type alias for a variable-sized byte array with a maximum size of ~16 MB, represented using the Inner type with a 3-byte header.

Aliased Type§

pub enum B016M<'a> {}

Trait Implementations§

Source§

impl<'a> Decodable<'a> for B016M<'a>

Source§

fn get_structure(_: &[u8]) -> Result<Vec<FieldMarker>, Error>

Defines the expected structure of a type based on binary data. Read more
Source§

fn from_decoded_fields(data: Vec<DecodableField<'a>>) -> Result<Self, Error>

Constructs the type from a vector of decoded fields. Read more
Source§

fn from_bytes(data: &'a mut [u8]) -> Result<Self, Error>

Decodes the type from raw bytes. Read more
Source§

impl GetMarker for B016M<'_>

Source§

fn get_marker() -> FieldMarker

Defines the structure of a type for decoding purposes, supporting both primitive and structured types. It helps getting a marker for a type.
Source§

impl<'a> TryFrom<DecodableField<'a>> for B016M<'a>

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: DecodableField<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<EncodableField<'a>> for B016M<'a>

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: EncodableField<'a>) -> Result<Self, Self::Error>

Performs the conversion.