Class: FastCRC::CRC16CCITT

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)


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

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

.hexdigestString

Parameters:

  • data (String)

Returns:

  • (String)


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

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

.newCRC16CCITT

Returns:



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

def self.new: () -> CRC16CCITT

Instance Method Details

#checksumInteger

Returns:

  • (Integer)


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

def checksum: () -> Integer

#hexdigestString

Returns:

  • (String)


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

def hexdigest: () -> String

#resetvoid

This method returns an undefined value.



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

def reset: () -> void

#updatevoid

This method returns an undefined value.

Parameters:

  • data (String)


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

def update: (String data) -> void