abstract class CRC::Base(UINT)
- CRC::Base(UINT)
- Digest
- Reference
- Object
Extended Modules
- Digest::ClassMethods
Direct Known Subclasses
Defined in:
crc/base.crConstructors
-
.new(crc : UINT = self.class.init_crc)
Initializes the CRC instance.
Class Method Summary
-
.checksum(data) : UINT
Calculates the CRC checksum.
-
.init_crc : UINT
The default initial CRC value.
-
.xor_mask : UINT
The default CRC XOR mask.
Instance Method Summary
-
#<<(data)
@see #update
-
#checksum : UINT
The resulting CRC checksum.
-
#digest_size : Int32
The size of the resulting CRC checksum.
-
#final_impl(dst : Bytes) : Nil
Packs the final CRC result.
-
#reset_impl : Nil
Resets the CRC checksum.
-
#update_impl(data : Bytes) : Nil
Updates the CRC checksum with the given data.