kinetic-c  v0.12.0
Seagate Kinetic Protocol Client Library for C
Data Fields
ByteBuffer Struct Reference

Structure for an embedded ByteArray as a buffer. More...

#include <byte_array.h>

Data Fields

ByteArray array
 ByteArray holding allocated array w/length = allocated size. More...
 
size_t bytesUsed
 Reflects the number of bytes used from the array More...
 

Detailed Description

Structure for an embedded ByteArray as a buffer.

The bytesUsed field is initialized to zero, and is to incremented as each byte is consumed, but shall not exceed the array length

Definition at line 53 of file byte_array.h.

Field Documentation

ByteArray ByteBuffer::array

ByteArray holding allocated array w/length = allocated size.

Definition at line 54 of file byte_array.h.

size_t ByteBuffer::bytesUsed

Reflects the number of bytes used from the array

Definition at line 55 of file byte_array.h.


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