crc implementation based on infinint
More...
#include <crc.hpp>
Inherits libdar::crc.
|
|
| 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 |
|
| virtual crc * | clone () const override |
|
|
void | copy_from (const crc_i &ref) |
|
void | copy_data_from (const crc_i &ref) |
crc implementation based on infinint
Definition at line 78 of file crc.hpp.
◆ crc_i()
| libdar::crc_i::crc_i |
( |
const crc_i & | ref | ) |
|
|
inline |
◆ clear()
| virtual void libdar::crc_i::clear |
( |
| ) |
|
|
overridevirtual |
◆ clone()
| virtual crc * libdar::crc_i::clone |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
◆ compute() [1/2]
| virtual void libdar::crc_i::compute |
( |
const char * | buffer, |
|
|
U_I | length ) |
|
overridevirtual |
◆ compute() [2/2]
| virtual void libdar::crc_i::compute |
( |
const infinint & | offset, |
|
|
const char * | buffer, |
|
|
U_I | length ) |
|
overridevirtual |
◆ crc2str()
| virtual std::string libdar::crc_i::crc2str |
( |
| ) |
const |
|
overridevirtual |
◆ dump()
◆ get_size()
| virtual infinint libdar::crc_i::get_size |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ operator=()
| crc_i & libdar::crc_i::operator= |
( |
const crc_i & | ref | ) |
|
|
inline |
◆ operator==()
| bool libdar::crc_i::operator== |
( |
const crc & | ref | ) |
const |
|
overridevirtual |
◆ cyclic
the checksum storage
Definition at line 105 of file crc.hpp.
◆ pointer
| storage::iterator libdar::crc_i::pointer |
|
private |
points to the next byte to modify
Definition at line 104 of file crc.hpp.
◆ size
size of the checksum
Definition at line 103 of file crc.hpp.
The documentation for this class was generated from the following file: