pluto  1
Small utility library for UUIDs, SHA1, and Encryption
IDataReader.h
Go to the documentation of this file.
1 #pragma once
2 
12 #include "TeaCrypter.h"
13 
14 namespace plt {
20  template <class Type>
21  class IDataReader {
22  public:
23 
30  virtual Type* toRAM() = 0;
31 
36  virtual void toSource(Type* source, int size) = 0;
37 
42  virtual int getSize() = 0;
43  };
44 }
virtual void toSource(Type *source, int size)=0
pushes data to source
Template type, input the data type that is to be encrypted.
Definition: IDataReader.h:21
Do not use these functions.
Definition: FileDataReader.h:16
Header for Plutos functionality for Tiny Encryption. This algorithm is not very secure but it will wo...
virtual int getSize()=0
get size of data
virtual Type * toRAM()=0
places the data inside of memory