kshred.h
bool fill1s()
Writes all 1's over the entire file and flushes the file buffers.
Definition kshred.cpp:68
bool fillpattern(unsigned char *pattern, unsigned int size)
Writes the specified byte array over the entire file and flushes the file buffers.
Definition kshred.cpp:103
void infoMessage(const TQString &message)
bool shred()
Shreds a file by writing a series of values over it (uses fill0s, then fill1s, then fillrandom,...
Definition kshred.cpp:207
bool fillrandom()
Writes random bites over the entire file and flushes the file buffers.
Definition kshred.cpp:122
bool fill0s()
Writes all 0's over the entire file and flushes the file buffers.
Definition kshred.cpp:75
KShred(TQString fileName)
Initialize the class using the name of the file to 'shred'.
Definition kshred.cpp:31
bool fillbyte(unsigned int byte)
Writes the specified byte over the entire file and flushes the file buffers.
Definition kshred.cpp:82
void processedSize(TDEIO::filesize_t bytes)
Trinity API Reference