crc

package
v0.0.0-...-518322d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package crc provides utility function for cyclic redundancy check algorithms.

Index

Constants

View Source
const Size = 4

The size of a CRC-32 checksum in bytes.

Variables

This section is empty.

Functions

func New

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL