Class: FastCRC::CRC16USB

Inherits:
Object
  • Object
show all
Defined in:
sig/fastcrc.rbs

Constant Summary collapse

WIDTH =

Returns:

  • (Integer)
CHECK =

Returns:

  • (Integer)
NAME =

Returns:

  • (String)

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.checksumInteger

Parameters:

  • data (String)

Returns:

  • (Integer)


103
# File 'sig/fastcrc.rbs', line 103

def self.checksum: (String data) -> Integer

.hexdigestString

Parameters:

  • data (String)

Returns:

  • (String)


104
# File 'sig/fastcrc.rbs', line 104

def self.hexdigest: (String data) -> String

.newCRC16USB

Returns:



102
# File 'sig/fastcrc.rbs', line 102

def self.new: () -> CRC16USB

Instance Method Details

#checksumInteger

Returns:

  • (Integer)


106
# File 'sig/fastcrc.rbs', line 106

def checksum: () -> Integer

#hexdigestString

Returns:

  • (String)


107
# File 'sig/fastcrc.rbs', line 107

def hexdigest: () -> String

#resetvoid

This method returns an undefined value.



108
# File 'sig/fastcrc.rbs', line 108

def reset: () -> void

#updatevoid

This method returns an undefined value.

Parameters:

  • data (String)


105
# File 'sig/fastcrc.rbs', line 105

def update: (String data) -> void