Class: Digest::CRC16USB

Inherits:
CRC16
  • Object
show all
Defined in:
lib/digest/crc16_usb.rb

Overview

Implements the CRC16 USB algorithm.

Constant Summary collapse

INIT_CRC =
0xffff
XOR_MASK =
0xffff

Constants inherited from CRC16

Digest::CRC16::TABLE, Digest::CRC16::WIDTH

Constants inherited from CRC

Digest::CRC::TABLE, Digest::CRC::WIDTH

Method Summary

Methods inherited from CRC16

pack, #update

Methods inherited from CRC

#<<, #block_length, #checksum, checksum, #digest_length, #finish, #initialize, pack, #reset, #update

Constructor Details

This class inherits a constructor from Digest::CRC