Skip to main content

B16

Type Alias B16 

Source
pub type B16<T = ByteBuf, const ENCODE_LOWER_CASE: bool = true, const DECODE_MIXED_CASE: bool = true> = BytesWrapper<T, (B16Encoding<ENCODE_LOWER_CASE, DECODE_MIXED_CASE>,)>;
Expand description

Wrapper around T implementing (de)serialization using hex-encoding.

Aliased Type§

pub struct B16<T = ByteBuf, const ENCODE_LOWER_CASE: bool = true, const DECODE_MIXED_CASE: bool = true> {
    inner: T,
    phantom: PhantomData<(B16Encoding<ENCODE_LOWER_CASE, DECODE_MIXED_CASE>,)>,
}

Fields§

§inner: T§phantom: PhantomData<(B16Encoding<ENCODE_LOWER_CASE, DECODE_MIXED_CASE>,)>