Class: FastCRC::CRC16ZModem

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)


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

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

.hexdigestString

Parameters:

  • data (String)

Returns:

  • (String)


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

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

.newCRC16ZModem

Returns:



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

def self.new: () -> CRC16ZModem

Instance Method Details

#checksumInteger

Returns:

  • (Integer)


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

def checksum: () -> Integer

#hexdigestString

Returns:

  • (String)


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

def hexdigest: () -> String

#resetvoid

This method returns an undefined value.



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

def reset: () -> void

#updatevoid

This method returns an undefined value.

Parameters:

  • data (String)


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

def update: (String data) -> void