[][src]Trait base_x::alphabet::Alphabet

pub trait Alphabet {
    fn encode(self, input: &[u8]) -> String;
fn decode(self, input: &str) -> Result<Vec<u8>, DecodeError>; }

Required methods

fn encode(self, input: &[u8]) -> String

fn decode(self, input: &str) -> Result<Vec<u8>, DecodeError>

Loading content...

Implementations on Foreign Types

impl<'a, '_> Alphabet for &'_ [u8][src]

impl<'a, '_> Alphabet for &'_ str[src]

Loading content...

Implementors

Loading content...