Function crc::isValid

Function Documentation

bool crc::isValid(const std::vector<uint8_t> &message)

Validates whether the calculated CRC of the SBF block at hand matches the CRC field of the streamed SBF block.

Parameters:

block – The SBF block that we are interested in

Returns:

True if the CRC check of the SBFBlock has passed, false otherwise