Function encoji::to_names
[−]
[src]
pub fn to_names<T: AsRef<[u8]>>(buf: T) -> String
Encode buffer as a string of emoji names
let input = [0x6e, 0x6e, 0x6e, 0xcd]; let output = ":fire::fire::fire::rocket:"; assert_eq!(encoji::to_names(&input), output);