#include <BitVector.h>
Parity (CRC-type) generator and checker based on a Generator.
◆ Parity()
Parity::Parity |
( |
uint64_t |
wCoefficients, |
|
|
unsigned |
wParitySize, |
|
|
unsigned |
wCodewordSize |
|
) |
| |
|
inline |
◆ syndrome()
uint64_t Parity::syndrome |
( |
const BitVector & |
receivedCodeword | ) |
|
Compute the syndrome of a received sequence.
◆ writeParityWord()
void Parity::writeParityWord |
( |
const BitVector & |
data, |
|
|
BitVector & |
parityWordTarget, |
|
|
bool |
invert = true |
|
) |
| |
Compute the parity word and write it into the target segment.
◆ mCodewordSize
unsigned Parity::mCodewordSize |
|
protected |
The documentation for this class was generated from the following file: