PCL
|
Functions | |
template<class C > | |
uint32 | pcl::Checksum (const C &data) |
size_type PCL_FUNC | pcl::Checksum (const void *data, size_type length) |
template<class C > | |
uint32 | pcl::CRC32 (const C &data) |
uint32 PCL_FUNC | pcl::CRC32 (const void *data, size_type length) |
|
inline |
Returns the standard checksum value for a container.
data | Reference to a container whose standard checksum will be calculated. The checksum number will be generated for the current data bytes in this container instance. |
Definition at line 112 of file Checksum.h.
Returns the standard checksum value calculated for a data sequence. The returned value is the total number of bits set in the sequence of input data bytes.
data | Address of the first byte in the data sequence. |
length | Length in bytes of the data sequence. |
Definition at line 82 of file Checksum.h.
|
inline |
Returns the CRC-32 error-detecting code for a container.
data | Reference to a container whose CRC-32 checksum will be calculated. The checksum code will be generated for the current data bytes in this container instance. |
Definition at line 149 of file Checksum.h.
Returns the CRC-32 error-detecting code calculated for a data sequence.
data | Address of the first byte in the data sequence. |
length | Length in bytes of the data sequence. |
References
CRC calculation routine based on original code by Michael Barr. The employed code requires the following copyright notice:
Copyright (c) 2000 by Michael Barr. This software is placed into the public domain and may be used for any purpose. However, this notice must not be changed or removed and no warranty is either expressed or implied by its publication or distribution.