#include <nybbler.h>
Definition at line 18 of file nybbler.h.
cet::nybbler::nybbler |
( |
| ) |
|
|
inline |
cet::nybbler::nybbler |
( |
string const & |
s | ) |
|
|
inlineexplicit |
string nybbler::as_char |
( |
| ) |
const |
Definition at line 31 of file nybbler.cc.
33 string r(
s_.size() / 2,
'x');
static uchar to_nyb(char hex)
string nybbler::as_hex |
( |
| ) |
const |
Definition at line 17 of file nybbler.cc.
19 string r(
s_.size() * 2,
'x');
static uchar msn(char ch)
static char to_hex(uchar nyb)
static uchar lsn(char ch)
uchar nybbler::lsn |
( |
char |
ch | ) |
|
|
staticprivate |
uchar nybbler::msn |
( |
char |
ch | ) |
|
|
staticprivate |
char nybbler::to_hex |
( |
uchar |
nyb | ) |
|
|
staticprivate |
Definition at line 57 of file nybbler.cc.
77 return 'A' + nyb - 10u;
uchar nybbler::to_nyb |
( |
char |
hex | ) |
|
|
staticprivate |
Definition at line 84 of file nybbler.cc.
104 return hex -
'a' + 10;
111 return hex -
'A' + 10;
QTextStream & hex(QTextStream &s)
The documentation for this class was generated from the following files: