PxCrypt
v0.1
Encrypt data within an image
Loading...
Searching...
No Matches
bit_chunker.h
1
#ifndef BIT_CHUNKER_H
2
#define BIT_CHUNKER_H
3
4
// Qt Includes
5
#include <QByteArrayView>
6
7
namespace
PxCrypt
8
{
11
class
BitChunker
12
{
13
//-Instance Variables------------------------------------------------------------------------------------------------------
14
private
:
15
QByteArrayView::const_iterator
mDataItr;
16
QByteArrayView::const_iterator
mDataEnd;
17
quint8 mBitIdx;
18
quint8 mChunkSize;
19
20
//-Constructor---------------------------------------------------------------------------------------------------------
21
public
:
22
BitChunker(
QByteArrayView
data, quint8 chunkSize);
23
24
//-Instance Functions----------------------------------------------------------------------------------------------
25
private
:
26
void
advance();
27
28
public
:
29
quint8 next();
30
bool
hasNext()
const
;
31
};
32
34
}
35
36
#endif
// BIT_CHUNKER_H
PxCrypt
The PxCrypt namespace is the main namespace through which all functionality of the PxCrypt library is...
Definition
decode_error.cpp:5
QByteArrayView
QByteArrayView::const_iterator
typedef const_iterator
lib
src
tools
bit_chunker.h
Generated by
1.9.7