16 unstable releases (7 breaking)
|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|
#39 in #buffer
124 downloads per month
A simple low-level data buffer type useful for IO and in homogeneous collections
This repository is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT License (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
This crate defines a buffer data structure optimized to be written to and read from standard
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.
DataBuffer doesn't support zero-sized types.