BRL-CAD

#include <vlb.h>

Data Fields

uint32_t magic
 
unsigned char * buf
 
size_t bufCapacity
 
size_t nextByte
 

Detailed Description

Variable Length Buffer: bu_vlb support

Definition at line 44 of file vlb.h.

Field Documentation

uint32_t magic

Definition at line 45 of file vlb.h.

Referenced by bu_vlb_free(), bu_vlb_init(), and bu_vlb_initialize().

unsigned char* buf

Dynamic memory for the buffer

Definition at line 46 of file vlb.h.

Referenced by bu_pr_vlb(), bu_vlb_addr(), bu_vlb_free(), bu_vlb_init(), bu_vlb_initialize(), bu_vlb_print(), and bu_vlb_write().

size_t bufCapacity

Current capacity of the buffer

Definition at line 47 of file vlb.h.

Referenced by bu_vlb_free(), bu_vlb_init(), bu_vlb_initialize(), and bu_vlb_write().

size_t nextByte

Number of bytes currently used in the buffer

Definition at line 48 of file vlb.h.

Referenced by bu_pr_vlb(), bu_vlb_buflen(), bu_vlb_free(), bu_vlb_init(), bu_vlb_initialize(), bu_vlb_print(), bu_vlb_reset(), and bu_vlb_write().


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