Expand description
Encoding and decoding hexidecimal strings.
See crate ::hex
.
Modules§
- serde
- Hex encoding with
serde
.
Enums§
- From
HexError - The error type for decoding a hex string into
Vec<u8>
or[u8; N]
.
Traits§
Functions§
- decode
- Decodes a hex string into raw bytes.
- decode_
to_ slice - Decode a hex string into a mutable bytes slice.
- deserialize
- Deserializes a hex string into raw bytes.
- encode
- Encodes
data
as hex string using lowercase characters. - encode_
to_ slice - Encodes some bytes into a mutable slice of bytes.
- encode_
upper - Encodes
data
as hex string using uppercase characters. - serialize
- Serializes
data
as hex string using lowercase characters. - serialize_
upper - Serializes
data
as hex string using uppercase characters.