|
GS1 Barcode Syntax Tests reference
A reference to the AI component "linter" routines referred to by the GS1 Barcode Syntax Dictionary. Copyright (c) 2022-2024 GS1 AISBL.
|
The posinseqslash linter ensures that the data represents a meaningful position in a sequence in the format "`<pos>/<end>`".
| GS1_SYNTAX_DICTIONARY_API gs1_lint_err_t gs1_lint_posinseqslash | ( | const char *const | data, |
| size_t | data_len, | ||
| size_t *const | err_pos, | ||
| size_t *const | err_len | ||
| ) |
Used to ensure that an AI component conforms to a "`<pos>/<end>`" format for variable width <pos> and <end>.
| [in] | data | Pointer to the data to be linted. Must not be NULL. |
| [in] | data_len | Length of the data to be linted. |
| [out] | err_pos | To facilitate error highlighting, the start position of the bad data is written to this pointer, if not NULL. |
| [out] | err_len | The length of the bad data is written to this pointer, if not NULL. |