crc - ActiveState ActiveGo 1.8

Package crc

import ""

Overview ▾

Package crc provides utility function for cyclic redundancy check algorithms.


The size of a CRC-32 checksum in bytes.

const Size = 4

func New

func New(prev uint32, tab *crc32.Table) hash.Hash32

New creates a new hash.Hash32 computing the CRC-32 checksum using the polynomial represented by the Table. Modified by xiangli to take a prevcrc.