Versions in this module Expand all Collapse all v0 v0.0.1 Jan 30, 2018 v0.0.0 Jul 23, 2017 Changes in this version + const Size + var Kermit = &Conf + var Modbus = &Conf + var PPP = X25 + var X25 = &Conf + var XModem = &Conf + func Checksum(c *Conf, data []byte) uint16 + func Update(crc uint16, tab *Table, p []byte) uint16 + func UpdateNBR(crc uint16, tab *Table, p []byte) uint16 + type Conf struct + BigEnd bool + BitRev bool + FinVal uint16 + IniVal uint16 + Poly uint16 + type Hash16 interface + Sum16 func() uint16 + func New(c *Conf) Hash16 + type Table [256]uint16 + func MakeTable(poly uint16) *Table + func MakeTableNBR(poly uint16) *Table