\BaconQrCode\EncoderBlockPair

Block pair.

Summary

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

Properties

$dataBytes

$dataBytes : \SplFixedArray<int>

Data bytes in the block.

Type

SplFixedArray

$errorCorrectionBytes

$errorCorrectionBytes : \SplFixedArray<int>

Error correction bytes in the block.

Type

SplFixedArray

Methods

__construct()

__construct(\SplFixedArray<int>  $data, \SplFixedArray<int>  $errorCorrection) : mixed

Creates a new block pair.

Parameters

\SplFixedArray $data
\SplFixedArray $errorCorrection

Returns

mixed —

getDataBytes()

getDataBytes() : \SplFixedArray<int>

Gets the data bytes.

Returns

\SplFixedArray

getErrorCorrectionBytes()

getErrorCorrectionBytes() : \SplFixedArray<int>

Gets the error correction bytes.

Returns

\SplFixedArray