Deprecation warning
Please note that this is outdated documentation for an older release of the Scandit Barcode Scanner SDK.
We are deprecating the 5.x API on all platforms (except Linux). Release 5.19 in April 2021 will be our final. Applications running 5.x will continue to work, and we will continue to release critical bug fixes and security patches only, for one year. We encourage you to migrate to 6.x and take advantage of our latest / advanced features and improved performance.
You'll find the updated documentation at: Data Capture SDK Documentation for Android
ScEncodingArray.h
Go to the documentation of this file.
120 sc_encoding_array_assign(ScEncodingArray *array, uint32_t pos, const char * encoding, uint32_t start, uint32_t end);
ScEncodingArray sc_encoding_array_new(uint32_t size)
Create new ScEncodingArray with given size.
ScEncodingRange * encodings
array of ranges
Definition: ScEncodingArray.h:89
void sc_encoding_array_free(ScEncodingArray array)
Frees the data of the encoding array.
uint32_t sc_encoding_array_get_size(ScEncodingArray array)
Get the number of elements in the array.
void sc_encoding_array_assign(ScEncodingArray *array, uint32_t pos, const char *encoding, uint32_t start, uint32_t end)
Assigns the value of the element at index pos in the array.
Common definitions used throughout the ScanditSDK API.
uint32_t end
index after the last element in the data
Definition: ScEncodingArray.h:50
ScEncodingRange sc_encoding_range_new(const char *c_str, uint32_t start, uint32_t end)
Create new ScEncodingRange.
ScEncodingRange sc_encoding_array_get_item_at(ScEncodingArray array, uint32_t i)
Access an encoding range.
void sc_encoding_range_free(ScEncodingRange encoding_range)
Frees the data of the encoding range.
ScData encoding
encapsulates a charset encoding name as defined by IANA (http://www.iana.org/assignments/character-se...
Definition: ScEncodingArray.h:48