Kohi Game Engine
crc64.h File Reference
#include "defines.h"

Go to the source code of this file.

Functions

KAPI u64 crc64 (u64 crc, const u8 *data, u64 length)
 

Function Documentation

◆ crc64()

KAPI u64 crc64 ( u64  crc,
const u8 data,
u64  length 
)

Compute crc64, update given crc value with new data.

Parameters
crcThe current crc value. Can pass 0 for a new one.
dataA constant pointer to a buffer of length bytes.
lengthNumber of bytes in the data buffer.