1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-10-05 19:18:01 +08:00
ULib/include/ulib/utility/hexdump.h
2015-01-23 17:24:36 +01:00

31 lines
778 B
C

// ============================================================================
//
// = LIBRARY
// ULib - c++ library
//
// = FILENAME
// hexdump.h
//
// = AUTHOR
// Stefano Casazza
//
// ============================================================================
#ifndef ULIB_HEXDUMP_H
#define ULIB_HEXDUMP_H 1
#include <ulib/base/coder/hexdump.h>
#include <ulib/string.h>
struct U_EXPORT UHexDump {
static void encode(const char* s, uint32_t n, UString& buffer);
static void encode(const UString& s, UString& buffer) { encode(U_STRING_TO_PARAM(s), buffer); }
static void decode(const char* s, uint32_t n, UString& buffer);
static void decode(const UString& s, UString& buffer) { decode(U_STRING_TO_PARAM(s), buffer); }
};
#endif