BlockPair
in package
Block pair.
Table of Contents
- $dataBytes : SplFixedArray<string|int, int>
- Data bytes in the block.
- $errorCorrectionBytes : SplFixedArray<string|int, int>
- Error correction bytes in the block.
- __construct() : mixed
- Creates a new block pair.
- getDataBytes() : SplFixedArray<string|int, int>
- Gets the data bytes.
- getErrorCorrectionBytes() : SplFixedArray<string|int, int>
- Gets the error correction bytes.
Properties
$dataBytes
Data bytes in the block.
private
SplFixedArray<string|int, int>
$dataBytes
$errorCorrectionBytes
Error correction bytes in the block.
private
SplFixedArray<string|int, int>
$errorCorrectionBytes
Methods
__construct()
Creates a new block pair.
public
__construct(SplFixedArray<string|int, int> $data, SplFixedArray<string|int, int> $errorCorrection) : mixed
Parameters
- $data : SplFixedArray<string|int, int>
- $errorCorrection : SplFixedArray<string|int, int>
Return values
mixed —getDataBytes()
Gets the data bytes.
public
getDataBytes() : SplFixedArray<string|int, int>
Return values
SplFixedArray<string|int, int> —getErrorCorrectionBytes()
Gets the error correction bytes.
public
getErrorCorrectionBytes() : SplFixedArray<string|int, int>