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

#1104 in Encoding

Download history 919/week @ 2023-11-29 874/week @ 2023-12-06 701/week @ 2023-12-13 785/week @ 2023-12-20 576/week @ 2023-12-27 972/week @ 2024-01-03 1087/week @ 2024-01-10 1218/week @ 2024-01-17 1172/week @ 2024-01-24 1294/week @ 2024-01-31 1199/week @ 2024-02-07 891/week @ 2024-02-14 1126/week @ 2024-02-21 1015/week @ 2024-02-28 1156/week @ 2024-03-06 1206/week @ 2024-03-13

4,654 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–260KB