.TH "sources/import/edz/lzma/7zCrc.h" 3 "Version 0.200.1-dev" "QElectroTech" \" -*- nroff -*-
.ad l
.nh
.SH NAME
sources/import/edz/lzma/7zCrc.h
.SH SYNOPSIS
.br
.PP
\fR#include '7zTypes\&.h'\fP
.br

.SS "Macros"

.in +1c
.ti -1c
.RI "#define \fBCRC_INIT_VAL\fP   0xFFFFFFFF"
.br
.ti -1c
.RI "#define \fBCRC_GET_DIGEST\fP(crc)"
.br
.ti -1c
.RI "#define \fBCRC_UPDATE_BYTE\fP(crc,  b)"
.br
.in -1c
.SS "Typedefs"

.in +1c
.ti -1c
.RI "typedef \fBUInt32\fP(\fBZ7_FASTCALL\fP * \fBCRC_FUNC\fP) (\fBUInt32\fP v, const void *data, size_t size, const \fBUInt32\fP *table)"
.br
.in -1c
.SS "Functions"

.in +1c
.ti -1c
.RI "void \fBZ7_FASTCALL\fP \fBCrcGenerateTable\fP (void)"
.br
.ti -1c
.RI "\fBUInt32\fP \fBZ7_FASTCALL\fP \fBCrcUpdate\fP (\fBUInt32\fP crc, const void *data, size_t size)"
.br
.ti -1c
.RI "\fBUInt32\fP \fBZ7_FASTCALL\fP \fBCrcCalc\fP (const void *data, size_t size)"
.br
.in -1c
.SS "Variables"

.in +1c
.ti -1c
.RI "\fBEXTERN_C_BEGIN\fP \fBUInt32\fP \fBg_CrcTable\fP []"
.br
.in -1c
.SH "Macro Definition Documentation"
.PP 
.SS "#define CRC_GET_DIGEST( crc)"
\fBValue:\fP
.nf
((crc) ^ CRC_INIT_VAL)
.PP
.fi

.SS "#define CRC_INIT_VAL   0xFFFFFFFF"

.SS "#define CRC_UPDATE_BYTE( crc,  b)"
\fBValue:\fP
.nf
(g_CrcTable[((crc) ^ (b)) & 0xFF] ^ ((crc) >> 8))
.PP
.fi

.SH "Typedef Documentation"
.PP 
.SS "typedef \fBUInt32\fP(\fBZ7_FASTCALL\fP * CRC_FUNC) (\fBUInt32\fP v, const void *data, size_t size, const \fBUInt32\fP *table)"

.SH "Function Documentation"
.PP 
.SS "\fBUInt32\fP \fBZ7_FASTCALL\fP CrcCalc (const void * data, size_t size)"

.SS "void \fBZ7_FASTCALL\fP CrcGenerateTable (void )"

.SS "\fBUInt32\fP \fBZ7_FASTCALL\fP CrcUpdate (\fBUInt32\fP crc, const void * data, size_t size)"

.SH "Variable Documentation"
.PP 
.SS "\fBEXTERN_C_BEGIN\fP \fBUInt32\fP g_CrcTable[]\fR [extern]\fP"

.SH "Author"
.PP 
Generated automatically by Doxygen for QElectroTech from the source code\&.
