X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2Fhexdump.hh;h=f43f5055467c1e7f79a7b9eb7e96aa6182f2e10b;hb=d1d92fb783dc558dcf7bdc34ee933c10e1c8d227;hp=f5a60e681a4972475c936f984c9af6ddbb776a6f;hpb=412024ed31a4ab4eaea7a4165a434f8efebee325;p=senf.git diff --git a/Utils/hexdump.hh b/Utils/hexdump.hh index f5a60e6..f43f505 100644 --- a/Utils/hexdump.hh +++ b/Utils/hexdump.hh @@ -34,10 +34,13 @@ namespace senf { - /** \brief Write range [ i, i_end ) to output stream in hexadecimal format - */ + /** \brief Write range [ i, i_end ) to output stream in hexadecimal format */ template void hexdump(Iterator i, Iterator i_end, std::ostream & stream, unsigned block_size=16); + + /** \brief Return quoted iterator range */ + template + std::string hexdumpQuote(Iterator i, Iterator i_end); } ///////////////////////////////hh.e////////////////////////////////////////