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

Wireshark-dev: Re: [Wireshark-dev] How to display data with variable length?

From: Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>
Date: Mon, 18 Oct 2010 13:58:44 -0600
On Mon, Oct 18, 2010 at 01:09:31PM +0200, Agustin Figueredo Canosa wrote:

> So it�s always displayed with 64bits (in hex) but this field is 
> variable, so many times it shows the info preceded by 0's. Could I 
> hide the 0�s? Should I defined this field using another format?

Does the data represent something that can be made human readable and be 
useful?  If not, try using FT_BYTES, which will display a truncated hex 
string of the data.