Expand description
Codabar (a.k.a. NW-7, USD-4, Code 2 of 7).
A discrete symbology over the character set 0-9 - $ : / . +, framed by a
start and a stop character each chosen from A B C D. Every character is seven
elements (four bars, three spaces); adjacent characters are separated by a single
narrow inter-character gap.
§Representation
LinearPattern::modules uses one boolean per narrow module (true = bar); a
wide element spans WIDE modules. The start/stop pair is carried in the bars
and recovered on decode, and is also recorded in CodabarMeta.
§Validation
The seven-element patterns match ZXing’s CodaBarReader.CHARACTER_ENCODINGS
table (each is a 7-bit value, MSB first, 1 = wide).
Structs§
- Codabar
Decoder - Codabar decoder.
- Codabar
Encoder - Codabar encoder.
- Codabar
Meta - Parameters required to re-encode a Codabar symbol identically.