ScEncodingArray.h
Go to the documentation of this file.
Functions to manage an array of bytes.
void sc_encoding_array_free(ScEncodingArray array)
Frees the data of the encoding array.
ScEncodingRange sc_encoding_array_get_item_at(ScEncodingArray array, uint32_t i)
Access an encoding range.
void sc_encoding_array_assign(ScEncodingArray *array, uint32_t pos, char const *encoding, uint32_t start, uint32_t end)
Assigns the value of the element at index pos in the array.
uint32_t sc_encoding_array_get_size(ScEncodingArray array)
Get the number of elements in the array.
void sc_encoding_range_free(ScEncodingRange encoding_range)
Frees the data of the encoding range.
uint32_t end
index after the last element in the data
Definition: ScEncodingArray.h:30
ScEncodingArray sc_encoding_array_new(uint32_t size)
Create new ScEncodingArray with given size.
Common definitions used throughout the ScanditSDK API.
ScEncodingRange * encodings
array of ranges
Definition: ScEncodingArray.h:69
A null terminated array of bytes.
ScEncodingRange sc_encoding_range_new(char const *c_str, uint32_t start, uint32_t end)
Create new ScEncodingRange.