#binary #reader #writer

binary-stream

Binary stream reader and writer

18 stable releases (5 major)

new 8.0.0 Jun 5, 2023
7.0.0 Jun 4, 2023
6.0.0 Jun 4, 2023
5.1.0 May 31, 2023
3.0.2 Jul 19, 2022

#3 in #binary-reader

Download history 67/week @ 2023-02-12 57/week @ 2023-02-19 17/week @ 2023-02-26 54/week @ 2023-03-05 49/week @ 2023-03-12 23/week @ 2023-03-19 57/week @ 2023-03-26 16/week @ 2023-04-02 46/week @ 2023-04-09 30/week @ 2023-04-16 69/week @ 2023-04-23 121/week @ 2023-04-30 81/week @ 2023-05-07 136/week @ 2023-05-14 153/week @ 2023-05-21 231/week @ 2023-05-28

602 downloads per month
Used in 2 crates (via serde-binary)

MIT license

59KB
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–275KB