pycrc32

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2023 License: ISC Imports: 1 Imported by: 0

Documentation

Overview

Package pycrc32 includes helpers for PangYa's CRC32 implementation.

Index

Constants

View Source
const (
	// File is the CRC polynomial for calculating file checksums (fcrcs).
	File = 0x04c11db7
)

Variables

View Source
var (
	// FileTable is the CRC32 table for calculating file checksums (fcrcs).
	FileTable = crc32.MakeTable(File)
)

Functions

func FileChecksum

func FileChecksum(data []byte) uint32

FileChecksum returns the file checksum (fcrc) value for a given buffer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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