etcd: github.com/coreos/etcd/pkg/crc Index | Files

package crc

import "github.com/coreos/etcd/pkg/crc"

Package crc provides utility function for cyclic redundancy check algorithms.

Index

Package Files

crc.go

Constants

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 263 packages. Updated 2016-07-24. Refresh now. Tools for package owners.