common/message.cc File Reference

#include "exceptions.h"
#include "message.h"
#include "guard.h"

Include dependency graph for message.cc:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &out, const Data &blob)
 Output the blob to an ostream.


Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const Data blob 
)

Output the blob to an ostream.

This can only take a Data object.

Note:
This can be used to effectively view the blob as a text string, if it is textual data.

Definition at line 153 of file message.cc.

References Data::data(), and Data::len().

Here is the call graph for this function:


Generated on Tue May 13 11:32:38 2008 for consmgr by  doxygen 1.5.5