Module as_string_option

Source
Expand description

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

Functionsยง

deserialize
Deserializes a UTF-8 string into a Option<Vec<u8>>
serialize
Serializes a Option<Vec<u8>> into a UTF-8 string if Ok()