binout 0.3.1

The library for binary serialization/deserialization of integers and arrays of integers.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
`binout` is the Rust library by Piotr Beling for low-level, portable, bytes-oriented,
binary encoding, decoding, serialization, deserialization of integers and arrays of integers.

It supports slightly improved *VByte*/*LEB128* format (see [`VByte`]) as well as simple, little-endian, as-is serialization (see [`AsIs`]).

# Example
```rust
use binout::{VByte, Serializer};

let value = 123456u64;
let mut buff = Vec::new();
assert!(VByte::write(&mut buff, value).is_ok());
assert_eq!(buff.len(), VByte::size(value));
let read: u64 = VByte::read(&mut &buff[..]).unwrap();
assert_eq!(read, value);
```