etcd: go.etcd.io/etcd/pkg/crc Index | Files

package crc

import "go.etcd.io/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 8 packages. Updated 2018-08-29. Refresh now. Tools for package owners.