Code39Reader class

Decodes Code 39 barcodes. Supports "Full ASCII Code 39" if USE_CODE_39_EXTENDED_MODE is set.

See Code93Reader

@author Sean Owen

Inheritance

Constructors

Code39Reader([bool _usingCheckDigit = false, bool _extendedMode = false])
Creates a reader that can be configured to check the last character as a check digit, or optionally attempt to decode "extended Code 39" sequences that are used to encode the full ASCII character set.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decode(BinaryBitmap image, [DecodeHint? hints]) Result
Locates and decodes a barcode in some format within an image. This method also accepts hints, each possibly associated to some data, which may help the implementation decode.
inherited
decodeRow(int rowNumber, BitArray row, DecodeHint? hints) Result
Attempts to decode a one-dimensional barcode format given a single row of an image.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
Resets any internal state the implementation has after a decode, to prepare it for reuse.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

alphabetString → const String
asteriskEncoding → const int
characterEnncodings → const List<int>
These represent the encodings of characters, as patterns of wide and narrow bars. The 9 least-significant bits of each int correspond to the pattern of wide and narrow, with 1s representing "wide" and 0s representing narrow.