PxCrypt
v0.1
Encrypt data within an image
Loading...
Searching...
No Matches
byte_compositer.h
1
#ifndef BYTE_COMPOSITER_H
2
#define BYTE_COMPOSITER_H
3
4
// Qt Includes
5
#include <QByteArrayView>
6
7
namespace
PxCrypt
8
{
11
class
ByteCompositer
12
{
13
//-Instance Variables------------------------------------------------------------------------------------------------------
14
private
:
15
QByteArray
* mOutput;
16
quint8 mBuffer;
17
18
quint8 mBitIdx;
19
quint8 mChunkSize;
20
21
//-Constructor---------------------------------------------------------------------------------------------------------
22
public
:
23
ByteCompositer(
QByteArray
* bufferOut, quint8 chunkSize);
24
25
//-Instance Functions----------------------------------------------------------------------------------------------
26
private
:
27
/* Flush doesn't need to be public, which would complicate the design of this class since encoded data is only ever
28
* composed of complete bytes. If PxSkimmer runs out of data while this is in the middle of a byte then there
29
* is a different problem.
30
*/
31
void
flush
();
32
void
advance();
33
34
public
:
35
void
composite(quint8 chunk);
36
};
37
39
}
40
41
#endif
// BYTE_COMPOSITER_H
PxCrypt
The PxCrypt namespace is the main namespace through which all functionality of the PxCrypt library is...
Definition
decode_error.cpp:5
QByteArray
Qt::flush
QTextStream & flush(QTextStream &stream)
lib
src
tools
byte_compositer.h
Generated by
1.9.7