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

Structure for handling generic arrays of bytes. More...

#include <byte_array.h>

Data Fields

size_t len
 Number of bytes in the data field. More...
 
uint8_t * data
 Pointer to an allocated array of data bytes. More...
 

Detailed Description

Structure for handling generic arrays of bytes.

The data contained in a ByteArray is an arbitrary sequence of bytes. It may contain embedded NULL characters and is not required to be NULL-terminated.

Definition at line 34 of file byte_array.h.

Field Documentation

size_t ByteArray::len

Number of bytes in the data field.

Definition at line 35 of file byte_array.h.

uint8_t* ByteArray::data

Pointer to an allocated array of data bytes.

Definition at line 36 of file byte_array.h.


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