Is it possible at all in C# to do fast bit tests? Lets say I have a byte or an int, is there some fast way to test if one of the bits are on or of?
- ØØ -
Printable View
Is it possible at all in C# to do fast bit tests? Lets say I have a byte or an int, is there some fast way to test if one of the bits are on or of?
- ØØ -
Look on Page 4 for the "C board - dns query" link. Does any of that help?
I think google search ranks change day by day so something on page 4 today might end up on another page later on :(
this was the link he was referring to
http://cboard.cprogramming.com/showthread.php?t=49730
Quote:
Originally Posted by MrPolite
Yeha, I think you are right..:)..but this is not going to help me anyway. This is in C, not C#. So it is unmanaged code. And I even have faster ways then this in my game library for C++ anyway. But I want it in C# now. Not C.
- ØØ -