//
pkg.gl
Category
github.com/digitalbitsorg/go
crc16
package
0.0.0-20181003211919-798156fdb816
Repository:
https://github.com/digitalbitsorg/go.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
1
Files
65 SLOC
#
Functions
Checksum
Checksum returns the 2-byte checksum for the provided data.
Validate
Validate returns an error if the provided checksum does not match the calculated checksum of the provided data.
#
Variables
ErrInvalidChecksum
ErrInvalidChecksum is returned when Validate determines either the checksum or the payload has been corrupted.