We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07a7fb1 commit e3aad63Copy full SHA for e3aad63
src/AdjustCRC.jl
@@ -36,10 +36,10 @@ function gen_revtable(poly::UInt32)
36
return table
37
end
38
39
-const REVTABLE32 = gen_revtable(POLY32) # reversed CRC-32C table
+const REVTABLE32 = gen_revtable(POLY32) # reversed CRC-32 table
40
const REVTABLE32c = gen_revtable(POLY32c) # reversed CRC-32C table
41
42
-revtable(::typeof(CRC32.crc32)) = REVTABLE32
+revtable(::typeof(CRC32.crc32)) = REVTABLE32
43
revtable(::typeof(CRC32c.crc32c)) = REVTABLE32c
44
45
# Table-driven "backwards" calculation of CRC: Algorithm 6 from Stigge et al.
0 commit comments