I saw someone use this method to increment a variable: r = (r + 1) & 0xf; Is开发者_如何学C that method better/faster than just using:
This question already has answers here: Left bit shifting 255 (as a byte) (7 answers) OR-ing bytes in C# gives int [duplicate]