better hex output

This commit is contained in:
Darren Ranalli 2006-12-29 18:07:41 +00:00
parent 208dfd2d94
commit ad7c978ef5
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ write(ostream &out, unsigned int indent) const {
out.width(indent+2); out<<""<<"_current_index "<<_current_index;
if (_datagram) {
out<<""<<" (of "<<(get_datagram().get_length())<<")";
out<<""<<" or in hex that's "<<(void*)_current_index<<" (of "
out<<""<<" / 0x"<<(void*)_current_index<<" (of 0x"
<<(void*)(get_datagram().get_length())<<")\n";
get_datagram().write(out, indent+2);
} else {