Class: FastCRC::CRC16XModem

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)


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

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

.hexdigestString

Parameters:

  • data (String)

Returns:

  • (String)


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

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

.newCRC16XModem

Returns:



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

def self.new: () -> CRC16XModem

Instance Method Details

#checksumInteger

Returns:

  • (Integer)


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

def checksum: () -> Integer

#hexdigestString

Returns:

  • (String)


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

def hexdigest: () -> String

#resetvoid

This method returns an undefined value.



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

def reset: () -> void

#updatevoid

This method returns an undefined value.

Parameters:

  • data (String)


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

def update: (String data) -> void