18#ifndef LOG4CXX_HEXDUMP_H
19#define LOG4CXX_HEXDUMP_H
35 return !!(
static_cast<uint32_t
>(a) &
static_cast<uint32_t
>(b));
39 return static_cast<HexdumpFlags>(
static_cast<uint32_t
>(a) |
static_cast<uint32_t
>(b));
#define LOG4CXX_EXPORT
Definition: log4cxx.h:101
#define LOG4CXX_NS
Definition: log4cxx.h:104
HexdumpFlags
Definition: hexdump.h:27
LOG4CXX_EXPORT LogString hexdump(const void *bytes, uint32_t len, HexdumpFlags flags=HexdumpFlags::None)
Hexdump the given bytes and return a LogString with the dumped bytes.
HexdumpFlags operator|(HexdumpFlags a, HexdumpFlags b)
Definition: hexdump.h:38
std::basic_string< logchar > LogString
Definition: logstring.h:60
bool operator&(HexdumpFlags a, HexdumpFlags b)
Definition: hexdump.h:34