Package bits implements bit manipulation functions for predefined unsigned integer types.
RotateLeft rotates x left by (k mod size(x)) bits. To rotate right by k bits, call RotateLeft(x, -k).
RotateLeft16 rotates x left by (k mod 16) bits. To rotate right by k bits, call RotateLeft16(x, -k).
RotateLeft32 rotates x left by (k mod 32) bits. To rotate right by k bits, call RotateLeft32(x, -k).
RotateLeft64 rotates x left by (k mod 64) bits. To rotate right by k bits, call RotateLeft64(x, -k).