Class: FastCRC::CRC16

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)


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

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

.hexdigestString

Parameters:

  • data (String)

Returns:

  • (String)


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

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

.newCRC16

Returns:



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

def self.new: () -> CRC16

Instance Method Details

#checksumInteger

Returns:

  • (Integer)


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

def checksum: () -> Integer

#hexdigestString

Returns:

  • (String)


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

def hexdigest: () -> String

#resetvoid

This method returns an undefined value.



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

def reset: () -> void

#updatevoid

This method returns an undefined value.

Parameters:

  • data (String)


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

def update: (String data) -> void