2009/6/5 Stig Bjørlykke <s...@bjorlykke.org>: > On Fri, Jun 5, 2009 at 1:23 PM, Anders Broman > <anders.bro...@ericsson.com> wrote: >> Couldn't: tvb_get_bits8(), tvb_get_bits16(), tvb_get_bits32(), >> tvb_get_bits64() >> Be used instead? > > Good idea, then we can use any TvbRange to fetch a bitfield from. New > patch attached.
I was surprised that for 0x31, bit 0 is not 1, it seems an odd endian choice for bits, but since its part of the underlying tvb API, so it goes. Other than, it works well, thanks. Sam ___________________________________________________________________________ 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 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe