Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros

◆ RotateLeft() [1/2]

static sbyte IBinaryInteger< sbyte >. System.SByte.RotateLeft ( sbyte value,
int rotateAmount )
inlinestatic

Definition at line 305 of file SByte.cs.

306 {
307 return (sbyte)((value << (rotateAmount & 7)) | ((byte)value >> ((8 - rotateAmount) & 7)));
308 }

References System.value.