byte-chisel 0.1.2

A library for decoding byte-streams into data structures
Documentation

byte-chisel

A library for decoding ("chiselling") structures out of a byte-stream.

Features

  • Built-in support for primitive types in either endianness
  • Automatic byte offset tracking for error reporting
  • #[no_std] support (some functions require a global allocator with the alloc crate)

Flags

This crate has the following Cargo features:

  • std: Enables features that depend on std, such as Read/BufRead support (enabled by default)
  • alloc: Enables features that depend on an allocator, such as read_until. (enabled by default)