ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 4478] Implement little endian support for tvb_get_bits[16|

Date: Thu, 11 Feb 2010 11:19:00 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4478

--- Comment #2 from Vincent Pelletier <plr.vincent@xxxxxxxxx> 2010-02-11 11:18:59 PST ---
(In reply to comment #0)
>   4, 32 = 0xA7856342 // 4 (=32 - (bit_offset + no_of_bits)) LSbs of 5th byte
> are added to result

Oops, wrong math, both in patch and comment (...each one being wrong in a
different way, wow).
I'll rework on this, as it seems to only work for the cases I need it to work
in (for a dissector I'm working on).

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.