29 #include "../my_config.h" 48 ~
scrambler() {
if(buffer !=
nullptr) meta_delete(buffer); };
53 bool skip(
const infinint & pos) {
if(ref ==
nullptr)
throw SRC_BUG;
return ref->
skip(pos); };
70 unsigned char *buffer;
void inherited_terminate()
destructor-like call, except that it is allowed to throw exceptions
void inherited_read_ahead(const infinint &amount)
U_I inherited_read(char *a, U_I size)
implementation of read() operation
class generic_file is defined here as well as class fichierthe generic_file interface is widely used ...
virtual void read_ahead(const infinint &amount)
bool skip(const infinint &pos)
bool skip_relative(S_I x)
skip relatively to the current position
void inherited_write(const char *a, U_I size)
implementation of the write() operation
infinint get_position() const
get the current read/write position
generic_file(gf_mode m)
main constructor
bool skip_to_eof()
skip to the end of file
contains all the excetion class thrown by libdar
switch module to limitint (32 ou 64 bits integers) or infinint
void inherited_sync_write()
write down any pending data
scrambler is a very weak encryption scheme
this is the interface class from which all other data transfer classes inherit
bool skippable(skippability direction, const infinint &amount)
void inherited_flush_read()
the arbitrary large positive integer class
this file contains the definition of secu_string class, a std::string like class but allocated in sec...
libdar namespace encapsulate all libdar symbols