wickr-crypto-c
Data Fields
wickr_buffer Struct Reference

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
 

Detailed Description

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.

Field Documentation

◆ bytes

wickr_buffer::bytes

an array of bytes of size length. bytes should not be NULL

◆ length

wickr_buffer::length

the length of the allocation pointed to by bytes. Length should always be a non-zero value


The documentation for this struct was generated from the following file: