common_primitives::utils

Module as_string

Source
Expand description

Handle serializing and deserializing from Vec<u8> to a UTF-8 string

Functionsยง

  • Serializes a UTF-8 string into a Vec<u8>
  • Serializes a Vec<u8> into a UTF-8 string