Leptonica  1.83.1
Image processing and image analysis suite
L_ByteBuffer Struct Reference

#include <bbuffer.h>

Data Fields

l_int32 nalloc
 
l_int32 n
 
l_int32 nwritten
 
l_uint8 * array
 

Detailed Description

Expandable byte buffer for memory read/write operations

Definition at line 50 of file bbuffer.h.

Field Documentation

◆ array

◆ n

l_int32 L_ByteBuffer::n

number of bytes read into to the array

Definition at line 53 of file bbuffer.h.

Referenced by bbufferDestroyAndSaveData(), bbufferRead(), bbufferReadStream(), bbufferWrite(), bbufferWriteStream(), and l_binaryReadStream().

◆ nalloc

l_int32 L_ByteBuffer::nalloc

size of allocated byte array

Definition at line 52 of file bbuffer.h.

Referenced by bbufferExtendArray(), bbufferRead(), bbufferReadStream(), and l_binaryReadStream().

◆ nwritten

l_int32 L_ByteBuffer::nwritten

number of bytes written from the array

Definition at line 54 of file bbuffer.h.

Referenced by bbufferDestroyAndSaveData(), bbufferRead(), bbufferReadStream(), bbufferWrite(), and bbufferWriteStream().


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