pub fn pack_string(payload: &str) -> Vec<u8> ⓘ
Pack a string as a top-level STRING element (UTF-8 bytes with the same escaping as pack_bytes).
pack_bytes