pub fn pack_bytes(payload: &[u8]) -> Vec<u8> ⓘ
Pack a byte string as a top-level BYTES element.
0x01, the payload with every 0x00 written as 0x00 0xff, and a terminating 0x00. No length prefix.
0x01
0x00
0x00 0xff