Ethereal-dev: Re: [Ethereal-dev] displaying binary data

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Guy Harris" <[email protected]>
Date: Fri, 2 Jul 2004 12:03:48 -0700 (PDT)
Erwin Rol said:
> I have to display some (512 byte) binary data that has no structure, the
> byte_stream just displays the first few bytes. Is there some standard
> way to display binary data in a way that it is easy to see what the
> address (1-512) and value is ?

No.

You could use "proto_tree_add_text()" or "proto_tree_add_bytes_format()"
to put items into the protocol tree in a format such as

    0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
    16: XX XX XX XX

or something such as that.