[−][src]Trait irmaseal_core::Readable
A readable resource that yields chunks of a bytestream.
Required methods
fn read_byte(&mut self) -> Result<u8, Error>
Read exactly one byte. Will throw Error::EndOfStream
if that byte
is not available.
fn read_bytes(&mut self, n: usize) -> Result<&[u8], Error>
Read up to n
bytes. May yield a slice with a lower number of bytes.