cbuffer 0.1.2

Low level interface to C-API's that expect a pointer/size reference to a buffer
Documentation

Low level interface to C-API's that expect a pointer/size reference to a buffer

In many libc API's it is common to pass a pointer/size pair into a function. This describes the location and length of data to be read or written.

This library provides tools to generate such pointer/size pairs in rust. In rust these are either vectors or array of 'u8' values. Buffers used for reading data in can be defined as 'uninit_array!' to reduce the overhead of unnnecessary initialization.