Trait libpijul::pristine::Base32[][src]

pub trait Base32: Sized {
    fn to_base32(&self) -> String;
fn from_base32(b: &[u8]) -> Option<Self>; }

Required methods

fn to_base32(&self) -> String[src]

fn from_base32(b: &[u8]) -> Option<Self>[src]

Loading content...

Implementors

impl Base32 for Hash[src]

fn to_base32(&self) -> String[src]

Returns the base-32 representation of a hash.

fn from_base32(s: &[u8]) -> Option<Self>[src]

Parses a base-32 string into a hash.

Loading content...