ReedSolomonEncoder
in package
FinalYes
Reed-Solomon encoding - ISO/IEC 18004:2000 Section 8.5 ff
Tags
Table of Contents
Properties
- $eccLevel : EccLevel
- $interleavedData : array<string|int, int>
- $interleavedDataIndex : int
- $version : Version
Methods
- __construct() : mixed
- ReedSolomonDecoder constructor
- interleaveEcBytes() : array<string|int, int>
- ECC encoding and interleaving
- encode() : array<string|int, int>
- interleave() : void
Properties
$eccLevel
private
EccLevel
$eccLevel
$interleavedData
private
array<string|int, int>
$interleavedData
$interleavedDataIndex
private
int
$interleavedDataIndex
$version
private
Version
$version
Methods
__construct()
ReedSolomonDecoder constructor
public
__construct(Version $version, EccLevel $eccLevel) : mixed
Parameters
interleaveEcBytes()
ECC encoding and interleaving
public
interleaveEcBytes(BitBuffer $bitBuffer) : array<string|int, int>
Parameters
- $bitBuffer : BitBuffer
Tags
Return values
array<string|int, int>encode()
private
encode(array<string|int, int> $dataBytes, int $ecByteCount) : array<string|int, int>
Parameters
- $dataBytes : array<string|int, int>
- $ecByteCount : int
Return values
array<string|int, int>interleave()
private
interleave(array<string|int, array<string|int, int>> $byteArray, int $maxBytes, int $numRsBlocks) : void
Parameters
- $byteArray : array<string|int, array<string|int, int>>
- $maxBytes : int
- $numRsBlocks : int