DDS  ver. 3.6
Namespaces | Typedefs | Functions
CRC.h File Reference
#include <fstream>
#include <string>
#include <boost/crc.hpp>

Go to the source code of this file.

Namespaces

 dds
 Miscellaneous functions and helpers are located here.
 
 dds::misc
 

Typedefs

using dds::misc::crc_optimal_64_t = boost::crc_optimal< 64, 0x04C11DB7, 0, 0, false, false >
 

Functions

template<class ret_t , class crc_t >
ret_t dds::misc::crc (const std::string &_str)
 
uint32_t dds::misc::crc32 (const std::string &_str)
 
uint64_t dds::misc::crc64 (const std::string &_str)
 
template<class ret_t , class crc_t >
ret_t dds::misc::crc (std::istream &_stream)
 
uint32_t dds::misc::crc32 (std::istream &_stream)
 
uint64_t dds::misc::crc64 (std::istream &_stream)