const Size … type digest … // 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. func New(prev uint32, tab *crc32.Table) hash.Hash32 { … } func (d *digest) Size() int { … } func (d *digest) BlockSize() int { … } func (d *digest) Reset() { … } func (d *digest) Write(p []byte) (n int, err error) { … } func (d *digest) Sum32() uint32 { … } func (d *digest) Sum(in []byte) []byte { … }