Method: OpenC3::Crc32#initialize
- Defined in:
- lib/openc3/utilities/crc.rb
#initialize(poly = DEFAULT_POLY, seed = DEFAULT_SEED, xor = true, reflect = true) ⇒ Crc32
Creates a 32 bit CRC algorithm instance. By default it is initialzed to use the CRC-32 algorithm.
247 248 249 250 251 252 |
# File 'lib/openc3/utilities/crc.rb', line 247 def initialize(poly = DEFAULT_POLY, seed = DEFAULT_SEED, xor = true, reflect = true) super(poly, seed, xor, reflect) end |