Disk ARchive
2.7.15
Full featured and portable backup and archiving tool
|
the elastic buffer class More...
#include <elastic.hpp>
Public Member Functions | |
elastic (U_32 size) | |
elastic (const unsigned char *buffer, U_32 size, elastic_direction dir, const archive_version &reading_ver) | |
elastic (generic_file &f, elastic_direction dir, const archive_version &reading_ver) | |
elastic (const elastic &ref)=default | |
elastic (elastic &&ref) noexcept=default | |
elastic & | operator= (const elastic &ref)=default |
elastic & | operator= (elastic &&ref) noexcept=default |
U_32 | dump (unsigned char *buffer, U_32 size) const |
U_32 | get_size () const |
Static Public Member Functions | |
static U_I | max_length () |
Private Member Functions | |
void | randomize (unsigned char *a) const |
U_I | base_from_version (const archive_version &reading_ver) const |
unsigned char | get_low_mark (const archive_version &reading_ver) const |
unsigned char | get_high_mark (const archive_version &reading_ver) const |
unsigned char | get_low_mark () const |
unsigned char | get_high_mark () const |
Private Attributes | |
U_32 | taille |
the elastic buffer class
the elastic class makes possible to insert arbritrary bytes beside information bytes, and to retreive later without any other knowledge which bytes are information and which byte are from the elastic buffer. The main purpose is for strong encryption
Definition at line 51 of file elastic.hpp.