23 #ifndef __ccxx_Hex_hxx 24 #define __ccxx_Hex_hxx 59 bool lowercase =
false);
76 static size_t encode(
const byte_t* input,
size_t inputLen,
char* output,
77 size_t outputLen,
bool lowercase =
false);
87 static String encode(
const Blob& input,
bool lowercase =
false);
115 static size_t decode(
const char* input,
size_t inputLen,
byte_t* output,
137 static char encodeDigit(
uint_t i,
bool lowercase =
false);
147 static uint_t decodeDigit(
char c);
167 #endif // __ccxx_Hex_hxx
unsigned int uint_t
An alias for unsigned int.
Definition: Integers.h++:74
Routines for ASCII hex encoding and decoding.
Definition: Hex.h++:41
#define COMMONCPP_API
Definition: Common.h++:126
A reference-counting, copy-on-write, threadsafe container for arbitrary binary data.
Definition: Blob.h++:45
A buffer for storing a contiguous sequence of elements.
Definition: Buffer.h++:44
A flexible, reference counted, copy-on-write, thread-safe, nullable string.
Definition: String.h++:50
uint16_t char16_t
A UTF-16 character.
Definition: Common.h++:201
#define CCXX_COPY_DECLS(CLASS)
Inlines declarations of a copy constructor and assignment operator for the class CLASS.
Definition: Common.h++:295
Definition: AllocationMap.c++:25
unsigned char byte_t
An unsigned 8-bit value.
Definition: Integers.h++:68