Wireshark-dev: [Wireshark-dev] Re: What to do with tvb_get_bits()

From: Anders Broman <a.broman58@xxxxxxxxx>
Date: Wed, 19 Feb 2025 23:28:59 +0100

Personally I think I prefere tvb_get_bits() which can read 1-32 bits into a 32 bit variable.
Anders


Den ons 19 feb. 2025 23:08Jaap Keuter <jaap.keuter@xxxxxxxxx> skrev:
Hi List,

Following [1] we should have no more calls to tvb_get_bits() in our code base anymore.
This then opens up the possibility to deprecate this function in favour of tvb_get_bits_[8|16|32]().
Would this deprecation cause unforeseen problems, or would this help to clean up our API?

Thanks,
Jaap

_______________________________________________
Wireshark-dev mailing list -- wireshark-dev@xxxxxxxxxxxxx
To unsubscribe send an email to wireshark-dev-leave@xxxxxxxxxxxxx