Honeycomb  0.1
Component-Model Framework
Namespaces | Functions | Variables
Encode.cpp File Reference
#include "Honey/String/Encode.h"
#include "Honey/Misc/Range.h"
Include dependency graph for Encode.cpp:

Namespaces

 honey
 Global Honeycomb namespace.
 
 honey::encode
 Bytes to string encodings.
 

Functions

bool honey::encode::reg (const Id &id, const function< ostream &(ostream &os, const Bytes &val)> &encode, const function< istream &(istream &os, Bytes &val)> &decode)
 Register an encoding. More...
 
String honey::encode::hex_encode (ByteBufConst bs)
 Convert bytes to string using hexadecimal encoding (high-nibble-first) More...
 
Bytes honey::encode::hex_decode (const String &string)
 Convert string to bytes using hexadecimal decoding (high-nibble-first) More...
 
String honey::encode::dec_encode (ByteBufConst bs)
 Convert bytes to string using decimal encoding (big-endian integer) More...
 
Bytes honey::encode::dec_decode (const String &string)
 Convert string to bytes using decimal decoding (big-endian integer) More...
 
String honey::encode::base32_encode (ByteBufConst bs)
 Convert bytes to string using base32 encoding. More...
 
Bytes honey::encode::base32_decode (const String &string)
 Convert string to bytes using base32 decoding. More...
 
String honey::encode::base64_encode (ByteBufConst bs)
 Convert bytes to string using base64 encoding. More...
 
Bytes honey::encode::base64_decode (const String &string)
 Convert string to bytes using base64 decoding. More...
 

Variables

static auto honey::encode::__hex
 
static auto honey::encode::__dec
 
static auto honey::encode::__u8
 
static auto honey::encode::__base32
 
static auto honey::encode::__base64