B064K

Type Alias B064K 

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

Type alias for a variable-sized byte array with a maximum size of 64 KB, represented using the Inner type with a 2-byte header.

Aliased Type§

pub enum B064K<'a> {}

Trait Implementations§

Source§

impl<'a> Decodable<'a> for B064K<'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 Display for B064K<'_>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl GetMarker for B064K<'_>

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 B064K<'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 B064K<'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.