52 #ifndef __PCL_Checksum_h
53 #define __PCL_Checksum_h
58 #include <pcl/Diagnostics.h>
84 PCL_PRECONDITION( data !=
nullptr )
86 for (
const uint8* p = (
const uint8*)data, * p1 = p+length; p < p1; ++p )
111 template <
class C>
inline
114 return Checksum( data.Begin(),
sizeof( *(data.Begin()) )*data.Length() );
148 template <
class C>
inline
151 return CRC32( data.Begin(),
sizeof( *(data.Begin()) )*data.Length() );
uint32 PCL_FUNC CRC32(const void *data, size_type length)
size_type PCL_FUNC Checksum(const void *data, size_type length)