![]() |
Disk ARchive 2.7.16
Full featured and portable backup and archiving tool
|
crc implementation based on infinint More...
#include <crc.hpp>
Inherits libdar::crc.
Public Member Functions | |
crc_i (const infinint &width) | |
crc_i (const infinint &width, proto_generic_file &f) | |
crc_i (const crc_i &ref) | |
crc_i (crc_i &&ref) noexcept=default | |
crc_i & | operator= (const crc_i &ref) |
crc_i & | operator= (crc_i &&ref) noexcept=default |
bool | operator== (const crc &ref) const override |
virtual void | compute (const infinint &offset, const char *buffer, U_I length) override |
virtual void | compute (const char *buffer, U_I length) override |
virtual void | clear () override |
virtual void | dump (proto_generic_file &f) const override |
virtual std::string | crc2str () const override |
virtual infinint | get_size () const override |
![]() | |
crc (const crc &ref)=default | |
crc (crc &&ref) noexcept=default | |
crc & | operator= (const crc &ref)=default |
crc & | operator= (crc &&ref) noexcept=default |
bool | operator!= (const crc &ref) const |
Protected Member Functions | |
virtual crc * | clone () const override |
Private Member Functions | |
void | copy_from (const crc_i &ref) |
void | copy_data_from (const crc_i &ref) |
Private Attributes | |
infinint | size |
size of the checksum | |
storage::iterator | pointer |
points to the next byte to modify | |
storage | cyclic |
the checksum storage | |
Additional Inherited Members | |
![]() | |
static constexpr U_I | OLD_CRC_SIZE = 2 |
|
overridevirtual |
Implements libdar::crc.
|
inlineoverrideprotectedvirtual |
Implements libdar::crc.
|
overridevirtual |
Implements libdar::crc.
|
overridevirtual |
Implements libdar::crc.
|
overridevirtual |
Implements libdar::crc.
|
overridevirtual |
Implements libdar::crc.
|
inlineoverridevirtual |
Implements libdar::crc.
|
overridevirtual |
Implements libdar::crc.
|
private |