OpenM++ runtime library (libopenm)
crc32.h
Go to the documentation of this file.
1
5
// Copyright (c) 2016 OpenM++
6
// This code is licensed under the MIT license (see LICENSE.txt for details)
7
8
#ifndef CRC32_H
9
#define CRC32_H
10
11
#include <string>
12
#include <iomanip>
13
#include <sstream>
14
15
using namespace
std;
16
17
namespace
openm
18
{
20
extern
uint32_t
calculateNextCrc32
(uint32_t i_initialCrc,
const
void
* i_data,
size_t
i_dataSize);
21
23
extern
string
crc32String
(
const
string
& i_source);
24
}
25
26
#endif
// CRC32_H
openm
openM++ namespace
Definition:
log.h:32
openm::crc32String
string crc32String(const string &i_source)
return CRC-32 of source string
Definition:
crc32.cpp:62
openm::calculateNextCrc32
uint32_t calculateNextCrc32(uint32_t i_initialCrc, const void *i_data, size_t i_dataSize)
calculate CRC-32 on next data block of bytes
Definition:
crc32.cpp:48
include
crc32.h
Generated on Fri Mar 22 2024 13:20:57 for OpenM++ runtime library (libopenm) by
1.9.4