Trait chisel_decoders::decoders::Decoder
source · pub trait Decoder<'a, Reader: Read + Debug> {
// Required method
fn decode_next(&mut self) -> DecoderResult<char>;
}
Expand description
The very simple trait that should be implemented by any specific decoder
Required Methods§
sourcefn decode_next(&mut self) -> DecoderResult<char>
fn decode_next(&mut self) -> DecoderResult<char>
Attempt to decode the next available char
from the underlying stream