GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
g
i
k
l
p
r
s
t
u
w
Functions
a
b
c
d
g
i
l
p
r
s
t
u
w
Variables
Typedefs
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Functions
a
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
z
Files
File List
▼
GpgFrontend Project
GpgFrontend Develop Document Main Page
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
src
▼
core
►
function
►
log
▼
model
CommonStruct.h
DataObject.h
GFBuffer.h
GFDataExchanger.h
GpgData.h
GpgDecryptResult.h
GpgEncryptResult.h
GpgGenerateKeyResult.h
GpgGenKeyInfo.h
GpgImportInformation.h
GpgKey.h
GpgKeySignature.h
GpgPassphraseContext.h
GpgRecipient.h
GpgSignature.h
GpgSignResult.h
GpgSubKey.h
GpgTOFUInfo.h
GpgUID.h
GpgVerifyResult.h
►
module
►
thread
►
typedef
►
utils
GpgConstants.h
GpgCoreInit.h
GpgFrontendCore.h
GpgModel.h
►
module
►
pinentry
►
test
►
ui
app.h
cmd.h
GpgFrontendContext.h
init.h
main.h
•
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Pages
GFBuffer.h
1
29
#pragma once
30
31
#include "core/GpgFrontendCoreExport.h"
32
#include "core/utils/MemoryUtils.h"
33
34
namespace
GpgFrontend
{
35
36
class
GPGFRONTEND_CORE_EXPORT
GFBuffer
{
37
public
:
38
GFBuffer
();
39
40
explicit
GFBuffer
(QByteArray buffer);
41
42
explicit
GFBuffer
(
const
QString& str);
43
44
auto
operator==(
const
GFBuffer
& o)
const
-> bool;
45
46
[[nodiscard]]
auto
Data()
const
->
const
char
*;
47
48
void
Resize(ssize_t size);
49
50
[[nodiscard]]
auto
Size()
const
-> size_t;
51
52
[[nodiscard]]
auto
Empty()
const
-> bool;
53
54
void
Append(
const
GFBuffer
&);
55
56
void
Append(
const
char
*, ssize_t);
57
58
[[nodiscard]]
auto
ConvertToQByteArray()
const
-> QByteArray;
59
60
private
:
61
QByteArray buffer_;
62
};
63
64
}
// namespace GpgFrontend
GpgFrontend::GFBuffer
Definition:
GFBuffer.h:36
GpgFrontend
Definition:
app.cpp:39
src
core
model
GFBuffer.h
Generated by
1.9.1