Atlas-C++
Namespaces | Functions
Utility.h File Reference

Various utility functions for codec implementation. More...

#include <cstdio>
#include <string>

Go to the source code of this file.

Namespaces

 Atlas
 The Atlas namespace.
 

Functions

const std::string Atlas::Codecs::charToHex (char c)
 Convert an ASCII char to its hexadecimal value.
 
char Atlas::Codecs::hexToChar (const std::string &hex)
 Convert a string with a hexadecimal value (2 characters) to an ASCII char.
 
const std::string Atlas::Codecs::hexEncodeWithPrefix (const std::string &prefix, const std::string &special, const std::string &message)
 
const std::string Atlas::Codecs::hexDecodeWithPrefix (const std::string &prefix, const std::string &message)
 

Detailed Description

Various utility functions for codec implementation.

This file contains various functions that can be used in implementing an Atlas::Codec.

See also
Atlas::Codec
Author
Stefanus Du Toit sdt@g.nosp@m.mx.n.nosp@m.et, Michael Day miked.nosp@m.ay@c.nosp@m.orpli.nosp@m.nk.c.nosp@m.om.au

Copyright 2000-2004 the respective authors.

This document can be licensed under the terms of the GNU Free Documentation License or the GNU General Public License and may be freely distributed under the terms given by one of these licenses.