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

ModulesΒ§

reader πŸ”’
traits πŸ”’
Traits for reading and writing images in zune
writer πŸ”’

StructsΒ§

ZByteReader
An encapsulation of a byte stream reader
ZByteWriter
Encapsulates a simple Byte writer with support for Endian aware writes

TraitsΒ§

ZReaderTrait
The underlying reader trait