[−][src]Crate data_buffer
This crate defines a buffer data structure optimized to be written to and read from standard
Vec
s. 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.
Re-exports
pub use reinterpret; |
Modules
macros | Utility macros for code generation. |
Macros
call_numeric_buffer_fn | Applies |
Structs
DataBuffer | Buffer of data. The data is stored as an array of bytes ( |