Bitstream Interpretation Library (BIL)  0.1
Namespaces | Macros | Functions
HexPrint.hpp File Reference

Contains function declarations for printing data as hex strings. More...

#include <cstring>
#include <ostream>
#include <string>
#include <boost/cstdint.hpp>
Include dependency graph for HexPrint.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  bil

Macros

#define BIL_HEXPRINT_HPP

Functions

void bil::printHex (std::ostream &os, boost::uint32_t word)
 Prints a 32 bit word in hexadecimal representation to a stream.
void bil::printHex (std::ostream &os, const boost::uint32_t *words, size_t wordCount)
 Prints 32 bit words in hexadecimal representation to a stream.
std::string bil::hexString (boost::uint32_t word)
 Gets hexadecimal string representation of a 32 bit word.
std::string bil::hexString (const boost::uint32_t *words, size_t wordCount)
 Gets hexadecimal string representation of 32 bit words.

Detailed Description

Contains function declarations for printing data as hex strings.

Definition in file HexPrint.hpp.


Macro Definition Documentation

#define BIL_HEXPRINT_HPP

Definition at line 8 of file HexPrint.hpp.