NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
h
i
k
l
n
o
p
q
r
s
t
u
v
+
Enumerations
a
b
c
d
f
i
k
l
n
p
q
r
s
t
u
+
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
+
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
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
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
w
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Enumerations
+
Enumerator
a
c
d
e
i
k
l
m
n
p
r
s
u
w
+
Related Functions
b
c
d
e
f
g
i
k
l
m
n
o
p
s
v
+
Files
File List
+
File Members
+
All
a
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
+
Functions
c
f
h
m
r
s
u
w
+
Variables
a
c
d
f
g
i
k
l
m
n
p
r
s
t
Typedefs
+
Macros
d
e
f
i
l
m
n
p
r
s
u
v
▼
ndnSIM
ndnSIM documentation
All Attributes
All GlobalValues
All LogComponents
All TraceSources
Todo List
Deprecated List
▶
Modules
▶
Namespaces
▶
Classes
▼
Files
▶
File List
▶
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
hex-decode.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
22
#ifndef NDN_CXX_SECURITY_TRANSFORM_HEX_DECODE_HPP
23
#define NDN_CXX_SECURITY_TRANSFORM_HEX_DECODE_HPP
24
25
#include "
transform-base.hpp
"
26
27
namespace
ndn
{
28
namespace
security {
29
namespace
transform
{
30
39
class
HexDecode
:
public
Transform
40
{
41
public
:
45
HexDecode
();
46
47
private
:
53
size_t
54
convert(
const
uint8_t* buf,
size_t
size)
final
;
55
59
void
60
finalize()
final
;
61
65
unique_ptr<Transform::OBuffer>
66
toBytes(
const
uint8_t* hex,
size_t
hexLen);
67
68
private
:
69
bool
m_hasOddByte;
70
uint8_t m_oddByte;
71
};
72
73
unique_ptr<Transform>
74
hexDecode
();
75
76
}
// namespace transform
77
}
// namespace security
78
}
// namespace ndn
79
80
#endif // NDN_CXX_SECURITY_TRANSFORM_HEX_DECODE_HPP
transform-base.hpp
There are three types of module in a transformation chain: Source, Transform, and Sink...
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-strategy-choice-helper.hpp:34
ndn::security::transform::HexDecode
The module to perform hexadecimal decoding transformation.
Definition:
hex-decode.hpp:39
transform
ndn::security::transform::HexDecode::HexDecode
HexDecode()
Create a hex decoding module.
Definition:
hex-decode.cpp:51
ndn::security::transform::hexDecode
unique_ptr< Transform > hexDecode()
Definition:
hex-decode.cpp:114
ndn::security::transform::Transform
Abstraction of an intermediate transformation module.
Definition:
transform-base.hpp:185
ndnSIM
ndn-cxx
src
security
transform
hex-decode.hpp
Generated on Tue Aug 7 2018 16:19:17 for ndnSIM by
1.8.14