Class: FastCRC::CRC16Modbus

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)


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

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

.hexdigestString

Parameters:

  • data (String)

Returns:

  • (String)


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

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

.newCRC16Modbus

Returns:



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

def self.new: () -> CRC16Modbus

Instance Method Details

#checksumInteger

Returns:

  • (Integer)


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

def checksum: () -> Integer

#hexdigestString

Returns:

  • (String)


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

def hexdigest: () -> String

#resetvoid

This method returns an undefined value.



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

def reset: () -> void

#updatevoid

This method returns an undefined value.

Parameters:

  • data (String)


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

def update: (String data) -> void