Method: Cosmos::Crc#poly

Defined in:
lib/cosmos/utilities/crc.rb

#polyInteger (readonly)

Returns The polynomial used when calcuating the CRC.

Returns:

  • (Integer)

    The polynomial used when calcuating the CRC



46
47
48
# File 'lib/cosmos/utilities/crc.rb', line 46

def poly
  @poly
end