TDataBlock Class

Encapsulates a block of data within a QR Code. QR Codes may split their data into multiple blocks, each of which is a unit of data and error-correction codewords. Each is represented by an instance of this class.

Unit: ZXing.QrCode.Internal.DataBlock
System.TObject
  ZXing.QrCode.Internal.DataBlock.TDataBlock
type TDataBlock = class(TObject)

The TDataBlock type exposes the following members.

Show:
 NameDescription
Create

Destroy

Top
Show:
 NameDescription
codewords

numDataCodewords

Top
Show:
 NameDescription
getDataBlocks

When QR Codes use multiple data blocks, they are actually interleaved. That is, the first byte of data block 1 to n is written, then the second bytes, and so on. This method will separate the data into original blocks.

Top