bz2Crc32Update
fn
uint bz2Crc32Update(uint crc, ubyte b) pure nothrow @nogc @safeCompute BZIP2 CRC32 for a single byte.
BZIP2 uses MSB-first CRC32 (AUTODIN-II / Ethernet polynomial).
Parameters
crc | Current CRC value. |
b | Byte to incorporate. |
Returns
Updated CRC value.