Trait base_x::alphabet::Alphabet [−][src]
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[src]
fn decode(self, input: &str) -> Result<Vec<u8>, DecodeError>[src]
Implementations on Foreign Types
impl<'a> Alphabet for &[u8][src]
impl<'a> Alphabet for &[u8][src]impl<'a> Alphabet for &str[src]
impl<'a> Alphabet for &str[src]