Module bytestream

Module bytestream 

Source
Expand description

A simple implementation of a bytestream reader and writer.

This module contains two main structs that help in byte reading and byte writing

Useful for a lot of image readers and writers, it’s put here to minimize code reuse

Structs§

ZCursor
Wraps an in memory buffer providing it with a Seek method but works in no_std environments
ZReader
The image reader wrapper
ZWriter
Encapsulates a simple Byte writer with support for Endian aware writes

Enums§

ZByteIoError

Traits§

ZByteReaderTrait
The de-facto Input trait implemented for readers.
ZByteWriterTrait
The writer trait implemented for zune-image library of encoders