![]() |
pluto
1
Small utility library for UUIDs, SHA1, and Encryption
|
class used in processing the file data for the encryption More...
#include <FileDataReader.h>
Public Member Functions | |
| FileDataReader (const char *fileName) | |
| Constructor for FileDataReader class. More... | |
| char * | toRAM () |
| places the data inside of memory More... | |
| void | toSource (char *source, int size) |
| pushes data to source More... | |
| int | getSize () |
| get size of data More... | |
class used in processing the file data for the encryption
Used when the data that needs to be encrypted is stored inside of a file.
| plt::FileDataReader::FileDataReader | ( | const char * | fileName | ) |
Constructor for FileDataReader class.
Takes in a filename that is to be processed by pluto for encryption
| fileName | file that is to be processed |
|
virtual |
get size of data
gets the character count for your file.
Implements plt::IDataReader< char >.
|
virtual |
places the data inside of memory
Creates a pointer to chars that contains the contents of your file
Implements plt::IDataReader< char >.
|
virtual |
pushes data to source
Takes the size and the data and puts them into a file
Implements plt::IDataReader< char >.
1.8.11