Module asn1_cereal::byte [] [src]

Constructs for reading and writing bytes used by this crate.

Structs

ByteReader

A reader to easily read a byte from a reader, while keeping a read count.

ByteWriter

A writer to easily write a byte to a writer, while keeping a write count.

Functions

read_byte

Read a byte from an iterator, and translate Eof into an UnexpectedEof error.

write_byte

Write a byte to a writer, and return an error when nothing was written.