package crc
import "github.com/coreos/etcd/pkg/crc"
Package crc provides utility function for cyclic redundancy check algorithms.
Index ¶
Constants ¶
const Size = 4
The size of a CRC-32 checksum in bytes.
Functions ¶
func New ¶
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.
Source Files ¶
- Version
- v2.3.8+incompatible (latest)
- Published
- Feb 16, 2017
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 19 hours ago –
Tools for package owners.