Trait hex_simd::FromHexEncode
source · pub trait FromHexEncode: Sized {
fn from_hex_encode(data: &[u8], case: AsciiCase) -> Self;
}
Expand description
Types that can represent a hex string.
Required Methods§
sourcefn from_hex_encode(data: &[u8], case: AsciiCase) -> Self
fn from_hex_encode(data: &[u8], case: AsciiCase) -> Self
Encodes bytes to a hex string and returns the self type.
Implementations on Foreign Types§
source§impl FromHexEncode for Box<[u8]>
Available on crate feature alloc
only.
impl FromHexEncode for Box<[u8]>
Available on crate feature
alloc
only.fn from_hex_encode(data: &[u8], case: AsciiCase) -> Self
source§impl FromHexEncode for Box<str>
Available on crate feature alloc
only.
impl FromHexEncode for Box<str>
Available on crate feature
alloc
only.fn from_hex_encode(data: &[u8], case: AsciiCase) -> Self
source§impl FromHexEncode for Vec<u8>
Available on crate feature alloc
only.
impl FromHexEncode for Vec<u8>
Available on crate feature
alloc
only.fn from_hex_encode(data: &[u8], case: AsciiCase) -> Self
source§impl FromHexEncode for String
Available on crate feature alloc
only.
impl FromHexEncode for String
Available on crate feature
alloc
only.