Skip to main content

Crate lexe_byte_array

Crate lexe_byte_array 

Source

Macros§

impl_byte_array
Impls ByteArray for a transparent newtype over [u8; N]
impl_debug_display_as_hex
Impls Debug + Display for a ByteArray type formatted as a hex string.
impl_debug_display_redacted
Impls Debug + Display with secret values redacted. Useful for preventing the accidental leakage of secrets in logs. Can technically be used for non ByteArray types as well.
impl_fromstr_fromhex
Impls FromStr and FromHex for a ByteArray parsed from a hex string.

Traits§

ByteArray
A trait for types represented in memory as a byte array. Should NOT be implemented for types that require validation of the byte array contents.