C# Class zxingwp7.oned.Code39Reader

Decodes Code 39 barcodes. This does not support "Full ASCII Code 39" yet.

Inheritance: OneDReader
Mostrar archivo Open project: henningms/zxing2.0-wp7

Public Methods

Method Description
Code39Reader ( ) : System

Creates a reader that assumes all encoded data is data, and does not treat the final character as a check digit. It will not decoded "extended Code 39" sequences.

Code39Reader ( bool usingCheckDigit ) : System

Creates a reader that can be configured to check the last character as a check digit. It will not decoded "extended Code 39" sequences.

Code39Reader ( bool usingCheckDigit, bool extendedMode ) : System

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.

decodeRow ( int rowNumber, BitArray row, Object>.Dictionary hints ) : System.Result

Private Methods

Method Description
decodeExtended ( String encoded ) : String
findAsteriskPattern ( BitArray row ) : int[]
patternToChar ( int pattern ) : char
toNarrowWidePattern ( int counters ) : int

Method Details

Code39Reader() public method

Creates a reader that assumes all encoded data is data, and does not treat the final character as a check digit. It will not decoded "extended Code 39" sequences.
public Code39Reader ( ) : System
return System

Code39Reader() public method

Creates a reader that can be configured to check the last character as a check digit. It will not decoded "extended Code 39" sequences.
public Code39Reader ( bool usingCheckDigit ) : System
usingCheckDigit bool if true, treat the last data character as a check digit, not /// data, and verify that the checksum passes. ///
return System

Code39Reader() public method

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.
public Code39Reader ( bool usingCheckDigit, bool extendedMode ) : System
usingCheckDigit bool if true, treat the last data character as a check digit, not /// data, and verify that the checksum passes. ///
extendedMode bool if true, will attempt to decode extended Code 39 sequences in the /// text. ///
return System

decodeRow() public method

public decodeRow ( int rowNumber, BitArray row, Object>.Dictionary hints ) : System.Result
rowNumber int
row zxingwp7.common.BitArray
hints Object>.Dictionary
return System.Result