On Fri, Jun 5, 2009 at 2:00 AM, Sam Roberts <vieuxt...@gmail.com> wrote: > If TvbRange_methods supported a :bitrange(pos, len) method, that > would mask and shift out a bitrange, and return it as a number, that > would be great.
Sure, have a look at the attached patch. Please test and give feedback :) -- Stig Bjørlykke
wslua-bitfield.patch
Description: Binary 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 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe