common_primitives::utils

Module as_hex_option

Source
Expand description

Handle serializing and deserializing from Option<Vec<u8>> to hexadecimal

Functionsยง

  • Deserializes a hexadecimal string into a Vec<u8>
  • Serializes a Vec<u8> into a hexadecimal string