Struct encoding::codec::utf_8::UTF8Decoder [] [src]

pub struct UTF8Decoder {
    // some fields omitted
}

A decoder for UTF-8.

Methods

impl UTF8Decoder

fn new() -> Box<RawDecoder>

Trait Implementations

impl RawDecoder for UTF8Decoder

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 UTF8Decoder

impl Clone for UTF8Decoder

fn clone(&self) -> UTF8Decoder

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