M9 1a8 8 0 1 0 0 16A8 8 0 0 0 9 1zm. Join Stack Overflow to learn, share knowledge, byte per byte software center build your career.
Did not find what they wanted? Try here
M9 1a8 8 0 1 0 0 16A8 8 0 0 0 9 1zM8 15. Can you guys help me with a nice, elegant and efficient way to do it? Finds the first occurance of a specific byte in a byte array. You could make this a static method!
I meant to say, extension method, of course. What’s the point of creating a wrapper for a standard library function? This just makes code harder to read because you have to look up the definition of the custom function. In particular a pointless wrapper like this smells of something unexpected hidden inside. I’ve written which uses native addressing and maximal qword-aligned reading to cut the number of memory accesses by a factor of 8.