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

Go to the source code of this file.

Namespaces

 MiscCommon
 Miscellaneous functions and helpers are located here.
 

Typedefs

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

Functions

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