Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
ziptool.cpp File Reference

TODO: insert short description here. More...

Go to the source code of this file.

Functions

static void makeCrcTable ()
 make the table for a fast CRC.
 
static unsigned int bitReverse (unsigned int code, unsigned int nrBits)
 

Variables

static bool crc_table_ready = false
 
static unsigned long crc_table [256]
 
LenBase lenBases []
 
DistBase distBases []
 

Detailed Description

TODO: insert short description here.

Definition in file ziptool.cpp.

Function Documentation

◆ bitReverse()

static unsigned int bitReverse ( unsigned int  code,
unsigned int  nrBits 
)
static

Definition at line 1087 of file ziptool.cpp.

◆ makeCrcTable()

static void makeCrcTable ( )
static

make the table for a fast CRC.

Definition at line 135 of file ziptool.cpp.

References c, crc_table, and crc_table_ready.

Referenced by Crc32::reset().

Variable Documentation

◆ crc_table

unsigned long crc_table[256]
static

Definition at line 130 of file ziptool.cpp.

Referenced by makeCrcTable(), and Crc32::update().

◆ crc_table_ready

bool crc_table_ready = false
static

Definition at line 129 of file ziptool.cpp.

Referenced by makeCrcTable().

◆ distBases

DistBase distBases[]

Definition at line 1196 of file ziptool.cpp.

◆ lenBases

LenBase lenBases[]

Definition at line 1154 of file ziptool.cpp.