Crate hexstring

Source
Expand description

§hexstring

The hexstring crate provide a convenient hexadecimal string wrapper. It allows all the common conversion expected from a hexadecimal string :

  • Contains a structured representation of uppercase or lowercase hexadecimal string
  • Construct from both string and string literal
  • Convert from and into array of bytes

The HexString type is a tiny immutable wrapper around string and insure it always contains a valid hexadecimal string.

§Feature flags

The following are a list of Cargo features that can be enabled or disabled:

  • serde: Enable serde support.

Structs§

HexString
Provides a structured representation of a hexadecimal string.

Enums§

Case
Indicates the case of the hexadecimal string.

Type Aliases§

Error
Errors than can occurs during HexString construction.
LowerHexString
Convenient alias type to represent lowercase hexadecimal string.
UpperHexString
Convenient alias type to represent uppercase hexadecimal string.