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

Go to the documentation of this file.
10 #ifndef SC_BYTE_ARRAY_H_
11 #define SC_BYTE_ARRAY_H_
13 #include <Scandit/ScConfig.h>
15 #if defined(__cplusplus)
16 extern "C" {
17 #endif
30 typedef struct {
32  union {
33  const uint8_t * bytes;
34  const char * str;
35  };
36  uint32_t size;
37  uint32_t flags;
38 } ScByteArray;
51 SC_EXPORT uint32_t
64 SC_EXPORT const uint8_t*
77 SC_EXPORT const char*
80 #if defined(__cplusplus)
81 }
82 #endif
84 #endif // SC_BYTE_ARRAY_H_
const char * sc_byte_array_get_string(ScByteArray array)
Get a const string pointer to the array data.
uint32_t sc_byte_array_get_size(ScByteArray array)
Get the number of bytes in the array.
uint32_t flags
private flags
Definition: ScByteArray.h:37
Common definitions used throughout the ScanditSDK API.
A null terminated array of bytes.
Definition: ScByteArray.h:31
uint32_t size
number of bytes in the array
Definition: ScByteArray.h:36
const uint8_t * sc_byte_array_get_data(ScByteArray array)
Get a const pointer to the byte data.