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

#1136 in Encoding

Download history 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 1235/week @ 2024-03-13 952/week @ 2024-03-20 1154/week @ 2024-03-27 1476/week @ 2024-04-03 1366/week @ 2024-04-10 1214/week @ 2024-04-17 1595/week @ 2024-04-24 1743/week @ 2024-05-01 1432/week @ 2024-05-08 956/week @ 2024-05-15

5,968 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