Trait Base32
libpijul::pristine
pub trait Base32: Sized { fn to_base32(&self) -> String; fn from_base32(b: &[u8]) -> Option<Self>; }
fn to_base32(&self) -> String
fn from_base32(b: &[u8]) -> Option<Self>
impl Base32 for Hash
Returns the base-32 representation of a hash.
fn from_base32(s: &[u8]) -> Option<Self>
Parses a base-32 string into a hash.