Struct encoding::codec::ascii::ASCIIEncoder [] [src]

pub struct ASCIIEncoder;

An encoder for ASCII.

Methods

impl ASCIIEncoder

fn new() -> Box<RawEncoder>

Trait Implementations

impl RawEncoder for ASCIIEncoder

fn from_self(&self) -> Box<RawEncoder>

fn is_ascii_compatible(&self) -> bool

fn raw_feed(&mut self, input: &str, output: &mut ByteWriter) -> (usize, Option<CodecError>)

fn raw_finish(&mut self, _output: &mut ByteWriter) -> Option<CodecError>

Derived Implementations

impl Copy for ASCIIEncoder

impl Clone for ASCIIEncoder

fn clone(&self) -> ASCIIEncoder

fn clone_from(&mut self, source: &Self)