Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ RotateLeft() [2/2]

static ushort IBinaryInteger< ushort >. System.UInt16.RotateLeft ( ushort value,
int rotateAmount )
inlinestatic

Definition at line 302 of file UInt16.cs.

303 {
304 return (ushort)((value << (rotateAmount & 0xF)) | (value >> ((16 - rotateAmount) & 0xF)));
305 }

References System.value.