crc32combine

package
v0.0.0-...-abd3a35 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Combine

func Combine(crc1, crc2 uint32, len2 int, poly uint32) (crc3 uint32)

Combine takes crc1 = crc32(data1) and crc2 = crc32(data2) and returns crc3 = crc32(concatenate(data1, data2)). The caller must provide len2 = len(data2), but data1 and data2 are not needed.

The polynomial poly is used. These can be obtained from the standard library package crc (e.g. crc.IEEE or crc.Castagnoli).

Types

This section is empty.

Jump to

Keyboard shortcuts

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