Euphoria
crc32.cc
Go to the documentation of this file.
1 #include "core/crc32.h"
2 
3 #include "base/memorychunk.h"
4 
5 #include "crc32/crc32.h"
6 
7 
8 namespace eu::core
9 {
10  unsigned long
11  calc_crc32(const MemoryChunk& chunk)
12  {
13  return Crc32_ComputeBuf(0, chunk.get_data(), chunk.get_size());
14  }
15 }
unsigned long calc_crc32(const MemoryChunk &chunk)
Definition: crc32.cc:11
char * get_data()
Definition: memorychunk.cc:12
int get_size() const
Definition: memorychunk.cc:24