ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

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" <gharris@xxxxxxxxx>
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.