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

pub struct ASCIIDecoder;

A decoder for ASCII.

Methods

impl ASCIIDecoder

fn new() -> Box<RawDecoder>

Trait Implementations

impl RawDecoder for ASCIIDecoder

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

fn is_ascii_compatible(&self) -> bool

fn raw_feed(&mut self, input: &[u8], output: &mut StringWriter) -> (usize, Option<CodecError>)

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

Derived Implementations

impl Copy for ASCIIDecoder

impl Clone for ASCIIDecoder

fn clone(&self) -> ASCIIDecoder

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