com.google.zxing.qrcode.encoder

## Class BlockPair

- java.lang.Object
- - com.google.zxing.qrcode.encoder.BlockPair

-     final class BlockPair
      extends Object

  Represents a pair of data and error correction blocks for QR code encoding. This class holds the data bytes and their corresponding error correction bytes as generated during the QR code encoding process.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BlockPair(byte[] data, byte[] errorCorrection)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | `getDataBytes()`
    `byte[]` | `getErrorCorrectionBytes()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BlockPair

          BlockPair(byte[] data,
                    byte[] errorCorrection)

  - ### Method Detail

    - #### getDataBytes

          public byte[] getDataBytes()

    - #### getErrorCorrectionBytes

          public byte[] getErrorCorrectionBytes()