Module tari_utilities::hex

source ·
Expand description

Functions for conversion between binary and hex string.

Enums

Traits

  • Any object implementing this trait has the ability to represent itself as a hexadecimal string and convert from it. The max len of the hex

Functions

  • Decode a hex string into bytes.
  • Use a serde serializer to serialize the hex string of the given object.
  • Encode the provided bytes into a hex string. This will function will not fail, but will print out if it fails
  • Encode the provided vector of bytes into a hex string.