Sha256: 852a3e262a5fb0c6161f23eef929b3af8be5f331feaae6957cb3c67241c93835

Contents?: true

Size: 271 Bytes

Versions: 7

Compression:

Stored size: 271 Bytes

Contents

require 'digest/crc16'

module Digest
  #
  # Implements the CRC16 USB algorithm.
  #
  class CRC16USB < CRC16

    INIT_CRC = 0xffff

    XOR_MASK = 0xffff

  end
end

if RUBY_ENGINE == 'ruby'
  begin; require 'digest/crc16_usb/crc16_usb_ext'; rescue LoadError; end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
digest-crc-0.6.5 lib/digest/crc16_usb.rb
digest-crc-0.6.4 lib/digest/crc16_usb.rb
digest-crc-0.6.3 lib/digest/crc16_usb.rb
digest-crc-0.6.2 lib/digest/crc16_usb.rb
digest-crc-0.6.1 lib/digest/crc16_usb.rb
digest-crc-0.6.0 lib/digest/crc16_usb.rb
digest-crc-0.6.0.rc1 lib/digest/crc16_usb.rb