Expand description
Encode the bytes of src
and return the results as a String
Example
let bytes = [101, 2, 240, 6, 108, 11, 20, 97];
let s = mnemonic::to_string(&bytes);
assert_eq!(s, "digital-apollo-aroma--rival-artist-rebel");
Encode the bytes of src
and return the results as a String
let bytes = [101, 2, 240, 6, 108, 11, 20, 97];
let s = mnemonic::to_string(&bytes);
assert_eq!(s, "digital-apollo-aroma--rival-artist-rebel");