21 stable releases (5 major)

8.3.0 Jan 18, 2024
8.1.0 Jun 12, 2023
7.0.0 Jun 4, 2023
6.0.0 Jun 4, 2023
3.0.2 Jul 19, 2022

#1219 in Encoding

Download history 1210/week @ 2024-01-25 1299/week @ 2024-02-01 1124/week @ 2024-02-08 961/week @ 2024-02-15 1008/week @ 2024-02-22 1058/week @ 2024-02-29 1248/week @ 2024-03-07 1106/week @ 2024-03-14 1123/week @ 2024-03-21 1045/week @ 2024-03-28 1560/week @ 2024-04-04 1337/week @ 2024-04-11 1297/week @ 2024-04-18 1635/week @ 2024-04-25 1633/week @ 2024-05-02 1180/week @ 2024-05-09

5,967 downloads per month
Used in 12 crates (6 directly)

MIT license

61KB
1.5K SLoC

Binary Stream

A binary stream reader and writer.

Credits

Derived from the binary_rw crate.


lib.rs:

Read and write binary data to streams.

An asynchronous version using futures::io is available using the async feature.

Strings are length prefixed using u32 by default, use the 64bit feature if you really need huge strings.

Dependencies

~0–255KB