Table of Contents

Class EAN13Reader

Namespace
ZXing.OneD
Assembly
zxing.dll

Implements decoding of the EAN-13 format.

dswitkin@google.com (Daniel Switkin) Sean Owen alasdair@google.com (Alasdair Mackintosh)

public sealed class EAN13Reader : UPCEANReader, Reader
Inheritance
EAN13Reader
Implements
Inherited Members

Constructors

EAN13Reader()

Initializes a new instance of the EAN13Reader class.

public EAN13Reader()

Methods

decodeMiddle(BitArray, int[], StringBuilder)

Subclasses override this to decode the portion of a barcode between the start and end guard patterns.

protected override int decodeMiddle(BitArray row, int[] startRange, StringBuilder resultString)

Parameters

row BitArray

row of black/white values to search

startRange int[]

start/end offset of start guard pattern

resultString StringBuilder

StringBuilderto append decoded chars to

Returns

int

horizontal offset of first pixel after the "middle" that was decoded or -1 if decoding could not complete successfully