\BaconQrCode\EncoderBlockPair

Block pair.

Summary

Methods
Properties
Constants
__construct()
getDataBytes()
getErrorCorrectionBytes()
No public properties found
No constants found
No protected methods found
$dataBytes
$errorCorrectionBytes
N/A
No private methods found
No private properties found
N/A

Properties

$dataBytes

$dataBytes : \SplFixedArray

Data bytes in the block.

Type

\SplFixedArray

$errorCorrectionBytes

$errorCorrectionBytes : \SplFixedArray

Error correction bytes in the block.

Type

\SplFixedArray

Methods

__construct()

__construct(\SplFixedArray  $data, \SplFixedArray  $errorCorrection) 

Creates a new block pair.

Parameters

\SplFixedArray $data
\SplFixedArray $errorCorrection

getDataBytes()

getDataBytes() : \SplFixedArray

Gets the data bytes.

Returns

\SplFixedArray

getErrorCorrectionBytes()

getErrorCorrectionBytes() : \SplFixedArray

Gets the error correction bytes.

Returns

\SplFixedArray