Hi, just a short simple question: How can i checkout a specific Bit in a Byte? I tryed something like this:
can anybody give me a short hint, please Greets from Hamburg Pfanne asked 15 Jul ‘11, 05:56 Pfanne retagged 15 Jul ‘11, 07:23 multipleinte… |
3 Answers:
Also, Wireshark Lua natively supports Lua BitOp (without downloading any external libraries). I recommend using the native support instead of your own Lua bitops functions. The documentation from those links should be clear enough. answered 15 Jul '11, 14:06 helloworld |
Lua doesn't support bit operations by default. You may need to download a library like the one from http://luaforge.net/projects/bit/ Number of bitwise operations are supported Also I'm not sure how to add a tag but this question should have been tagged with "lua" as well. answered 15 Jul '11, 06:25 izopizo |
Hi izopizo, thanks for your hint. I have solved my problem like this.
I´am a little bid amezed, becouse Lua dosen´t support this comparatively simple operation. Greets From Hamburg Pfanne answered 15 Jul ‘11, 12:25 Pfanne |