Class: FastCRC::CRC16Genibus

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)


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

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

.hexdigestString

Parameters:

  • data (String)

Returns:

  • (String)


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

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

.newCRC16Genibus

Returns:



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

def self.new: () -> CRC16Genibus

Instance Method Details

#checksumInteger

Returns:

  • (Integer)


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

def checksum: () -> Integer

#hexdigestString

Returns:

  • (String)


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

def hexdigest: () -> String

#resetvoid

This method returns an undefined value.



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

def reset: () -> void

#updatevoid

This method returns an undefined value.

Parameters:

  • data (String)


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

def update: (String data) -> void