CRC32c

    There is also a method crc32c(io, nb, crc) to checksum bytes from a stream io, or crc32c(io, crc) to checksum all the remaining bytes. Hence you can do to checksum an entire file, or crc32c(seekstart(buf)) to checksum an IOBuffer without calling .

    source

    1. crc32c(io::IO, [nb::Integer,] crc::UInt32=0x00000000)