Documentation ¶
Index ¶
Constants ¶
View Source
const Size = 1
The size of a CRC-8 checksum in bytes.
Variables ¶
View Source
var (
DOWCRC = crc8.DOW
)
Predefined polynomials.
Functions ¶
func Checksum ¶
Checksum returns the CRC-8 checksum of data using the polynomial, and parameters represented by the Model.
func New ¶
New creates a new hash.Hash8 computing the CRC-8 checksum using the polynomial represented by the Model.
func NewFromInst ¶
NewFromInst creates a hash.Hash8 from an crcutil.Inst.
Types ¶
Click to show internal directories.
Click to hide internal directories.