module

RQRCode::Export::PNG::CRC32

Constants

TABLE = begin table = Array(UInt32).new(256, 0) (0...256).each do |n| c = n.to_u32! 8.times do c = ((c & 1) == 1) ? 3988292384_u32 ^ (c >> 1) : (c >> 1) end table[n] = c end table end

Class methods

combine(*parts : Bytes) : UInt32
Source