byte-chisel 0.1.0

A library for decoding byte-streams into data structures
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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)