wickr-crypto-c
|
Represents an array of bytes and the length of the allocation associated with those bytes. More...
#include <buffer.h>
Data Fields | |
size_t | length |
uint8_t * | bytes |
Represents an array of bytes and the length of the allocation associated with those bytes.
Buffers are the fundamental building block of many wickr structures, and the preferred way of passing around pointers to data in a safe way.
wickr_buffer::bytes |
an array of bytes of size length. bytes should not be NULL
wickr_buffer::length |
the length of the allocation pointed to by bytes. Length should always be a non-zero value