packed_buffer_size
status.i4.v = packed_buffer_size(packed_buffer.s.r [,size.i4.r]
[,num_entries.i4.r])
This routine will retrieve the size of a packed data buffer.
packed_buffer packed data buffer to free
[size] retrieved size in bytes
[num_entries] number of entries (inserts) in the buffer
This function returns ACNET status values as follows:
size of data buffer in bytes
This function requires the following include files:
cbslib_h
Related functions:
packed_buffer_init, packed_buffer_rewind, packed_buffer_fill_c,
packed_buffer_add_c, packed_buffer_get_c, packed_buffer_next_entry_info,
packed_buffer_free, packed_buffer_copy_data_c
C/C++ usage:
int status;
int size;
int num_entries;
PACKED_BUFFER_DATA packed_buffer;
status = packed_buffer_size(&packed_buffer,&size,&num_entries);