Leptonica  1.83.1
Image processing and image analysis suite
L_Bytea Struct Reference

#include <array_internal.h>

Data Fields

size_t nalloc
 
size_t size
 
l_atomic refcount
 
l_uint8 * data
 

Detailed Description

Byte array (analogous to C++ "string")

Definition at line 127 of file array_internal.h.

Field Documentation

◆ data

l_uint8* L_Bytea::data

◆ nalloc

size_t L_Bytea::nalloc

number of bytes allocated in data array

Definition at line 129 of file array_internal.h.

Referenced by l_byteaAppendData(), l_byteaAppendString(), and l_byteaExtendArrayToSize().

◆ refcount

l_atomic L_Bytea::refcount

reference count (1 if no clones)

Definition at line 131 of file array_internal.h.

Referenced by l_byteaCopy(), and l_byteaDestroy().

◆ size

size_t L_Bytea::size

number of bytes presently used

Definition at line 130 of file array_internal.h.

Referenced by l_byteaAppendData(), l_byteaAppendString(), l_byteaCopy(), l_byteaGetData(), l_byteaGetSize(), l_byteaInitFromStream(), and l_byteaSplit().


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