MRPT
1.9.9
|
Header: #include <mrpt/system/crc.h>
.
Library: [mrpt-system]
Functions | |
uint16_t | mrpt::system::compute_CRC16 (const std::vector< uint8_t > &data, const uint16_t gen_pol=0x8005) |
Computes the CRC16 checksum of a block of data. More... | |
uint16_t | mrpt::system::compute_CRC16 (const uint8_t *data, const size_t len, const uint16_t gen_pol=0x8005) |
uint32_t | mrpt::system::compute_CRC32 (const std::vector< uint8_t > &data, const uint32_t gen_pol=0xEDB88320L) |
Computes the CRC32 checksum of a block of data. More... | |
uint32_t | mrpt::system::compute_CRC32 (const uint8_t *data, const size_t len, const uint32_t gen_pol=0xEDB88320L) |
uint16_t mrpt::system::compute_CRC16 | ( | const std::vector< uint8_t > & | data, |
const uint16_t | gen_pol = 0x8005 |
||
) |
Computes the CRC16 checksum of a block of data.
Definition at line 15 of file crc.cpp.
References ASSERT_.
Referenced by mrpt::hwdrivers::CSickLaserSerial::LMS_waitIncomingFrame(), mrpt::hwdrivers::CSickLaserSerial::SendCommandToSICK(), mrpt::hwdrivers::CSickLaserUSB::waitContinuousSampleFrame(), and mrpt::hwdrivers::CSickLaserSerial::waitContinuousSampleFrame().
uint32_t mrpt::system::compute_CRC32 | ( | const std::vector< uint8_t > & | data, |
const uint32_t | gen_pol = 0xEDB88320L |
||
) |
Computes the CRC32 checksum of a block of data.
Definition at line 22 of file crc.cpp.
References ASSERT_.
Referenced by mrpt::hwdrivers::CGPSInterface::implement_parser_NOVATEL_OEM6(), and TEST().
uint32_t mrpt::system::compute_CRC32 | ( | const uint8_t * | data, |
const size_t | len, | ||
const uint32_t | gen_pol = 0xEDB88320L |
||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 72 of file crc.cpp.
References CRC32Value().
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019 |