gbase32_clockwork/gbase32
Types
Functions
pub fn new_decoder() -> fn(String) -> Result(String, String)
Create a new decoder that can be be reused to decode strings from base32 clockwork
Examples
let decode = new_decoder()
decode("CSQPYRK1E8")
// -> Ok("foobar")
pub fn new_encoder() -> fn(String) -> Result(String, String)
Create a new encoder that can be be reused to encode strings in base32 clockwork
Examples
let encode = new_encoder()
encode("foobar")
// -> Ok("csqpyrk1e8")