class CRC::CRC1
- CRC::CRC1
- CRC::Base(UInt32)
- Digest
- Reference
- Object
Overview
Implements the CRC1 algorithm.
Defined in:
crc/crc1.crConstructors
-
.new(crc : UINT = self.class.init_crc)
Initializes the CRC instance.
Instance Method Summary
-
#digest_size
The size of the resulting CRC checksum.
-
#final_impl(dst : Bytes) : Nil
The packed CRC value.
-
#update_impl(data : Bytes) : Nil
Updates the CRC1 checksum.
Instance methods inherited from class CRC::Base(UInt32)
<<(data)
<<,
checksum : UINT
checksum,
digest_size : Int32
digest_size,
final_impl(dst : Bytes) : Nil
final_impl,
reset_impl : Nil
reset_impl,
update_impl(data : Bytes) : Nil
update_impl
Constructor methods inherited from class CRC::Base(UInt32)
new(crc : UINT = self.class.init_crc)
new
Class methods inherited from class CRC::Base(UInt32)
checksum(data) : UINT
checksum,
init_crc : UINT
init_crc,
xor_mask : UINT
xor_mask
Constructor Detail
Instance Method Detail
def digest_size
#
Description copied from class CRC::Base(UInt32)
The size of the resulting CRC checksum.