pub fn encode_bytes(bytes: &[u8]) -> String