pluto
1
Small utility library for UUIDs, SHA1, and Encryption
include
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
}
TeaCrypter.h
Header for Plutos functionality for Tiny Encryption. This algorithm is not very secure but it will wo...
plt::IDataReader::getSize
virtual int getSize()=0
get size of data
plt::IDataReader::toRAM
virtual Type * toRAM()=0
places the data inside of memory
plt::IDataReader::toSource
virtual void toSource(Type *source, int size)=0
pushes data to source
plt::IDataReader
Template type, input the data type that is to be encrypted.
Definition:
IDataReader.h:21
plt
Do not use these functions.
Definition:
FileDataReader.h:16
Generated by
1.8.20