Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

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.