etcd: Index | Files

package crc

import ""

Package crc provides utility function for cyclic redundancy check algorithms.


Package Files



const Size = 4

The size of a CRC-32 checksum in bytes.

func New Uses

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.

Package crc imports 2 packages (graph) and is imported by 341 packages. Updated 2016-07-24. Refresh now. Tools for package owners.