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

Wireshark-dev: [Wireshark-dev] Get 3 bytes

From: "Steven Le" <programminglist@xxxxxxxxx>
Date: Mon, 12 Mar 2007 15:32:29 -0800

I define a header type to be FT_UINT24
&....
....FT_UNIT24, BASE_DEC, NULL,
0x00007ff (bitmasking 3 bytes)

How to get 3 bytes and add it to protocol subtree?
guint32 = tvb_get_leoh24(tvb, 3); ???

guint32 is 32 bits --> so type mismatch???