MLIB
Loading...
Searching...
No Matches
crc32.h
Go to the documentation of this file.
1/*
2 Copyright (c) Mircea Neacsu (2014-2025) Licensed under MIT License.
3 This file is part of MLIB project. See LICENSE file for full license terms.
4*/
5
7
8#pragma once
9
10#if __has_include("defs.h")
11#include "defs.h"
12#endif
13
14namespace mlib {
15
16void crc32_update (BYTE byte, DWORD* crc);
17DWORD crc32 (const void* block, size_t sz);
18
19} //namespace mlib
20
DWORD crc32(const void *block, size_t sz)
CRC32 computation for a block of data.
Definition crc32.cpp:56
void crc32_update(BYTE byte, DWORD *crc)
Continous CRC32 computation.
Definition crc32.cpp:50