wireshark-dev October 2010 archive
Main Archive Page > Month Archives  > wireshark-dev archives
wireshark-dev: Re: [Wireshark-dev] How to display data with vari

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

From: Stephen Fisher <steve_at_nospam>
Date: Mon Oct 18 2010 - 19:58:44 GMT
To: Developer support list for Wireshark <wireshark-dev@wireshark.org>

On Mon, Oct 18, 2010 at 01:09:31PM +0200, Agustin Figueredo Canosa wrote:

> So its 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 0s? 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.

Sent via: Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives: http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev