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.
1 
10 #ifndef SC_ENCODING_ARRAY_H_
11 #define SC_ENCODING_ARRAY_H_
12 
13 #include <Scandit/ScConfig.h>
14 
15 #if defined(__cplusplus)
16 extern "C" {
17 #endif
18 
26 typedef struct {
28  const char * encoding;
29  uint32_t start;
30  uint32_t end;
33 
41 typedef struct {
44  uint32_t size;
47 
58 SC_EXPORT uint32_t
60 
72 SC_EXPORT ScEncodingRange
74 
83 SC_EXPORT void
85 
86 #if defined(__cplusplus)
87 }
88 #endif
89 
90 #endif // SC_BYTE_ARRAY_H_
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.
Character encoding of a range of bytes.
Definition: ScEncodingArray.h:27
uint32_t sc_encoding_array_get_size(ScEncodingArray array)
Get the number of elements in the array.
uint32_t start
start index in the data
Definition: ScEncodingArray.h:29
uint32_t end
index after the last element in the data
Definition: ScEncodingArray.h:30
ScEncodingRange * ranges
array of ranges
Definition: ScEncodingArray.h:43
Common definitions used throughout the ScanditSDK API.
An array of encoding ranges.
Definition: ScEncodingArray.h:42
const char * encoding
charset encoding name as defined by IANA (http://www.iana.org/assignments/character-sets/character-se...
Definition: ScEncodingArray.h:28
uint32_t size
number of elements in the array
Definition: ScEncodingArray.h:44