#buffer #io #data

data-buffer

A simple low-level data buffer type useful for IO and in homogeneous collections

16 unstable releases (7 breaking)

✓ Uses Rust 2018 edition

0.8.0 Dec 18, 2019
0.7.0 Aug 20, 2019
0.5.1 May 21, 2019
0.5.0 Mar 5, 2019
0.4.2 Nov 10, 2018

#14 in #buffer

Download history 106/week @ 2019-11-01 5/week @ 2019-11-08 44/week @ 2019-11-15 41/week @ 2019-11-22 44/week @ 2019-11-29 75/week @ 2019-12-06 191/week @ 2019-12-13 49/week @ 2019-12-20 50/week @ 2019-12-27 47/week @ 2020-01-03 162/week @ 2020-01-10 67/week @ 2020-01-17 27/week @ 2020-01-24 29/week @ 2020-01-31 25/week @ 2020-02-07

216 downloads per month
Used in 3 crates (2 directly)

MIT/Apache

50KB
853 lines

data-buffer

A simple low-level data buffer type useful for IO and in homogeneous collections

On crates.io On docs.rs Build status

License

This repository is licensed under either of

at your option.


lib.rs:

This crate defines a buffer data structure optimized to be written to and read from standard Vecs. DataBuffer is particularly useful when dealing with data whose type is determined at run time. Note that data is stored in the underlying byte buffers in native endian form, thus requesting typed data from a buffer on a platform with different endianness is unsafe.

Caveats

DataBuffer doesn't support zero-sized types.

Dependencies

~245KB