Sage Modeling and Simulation Library

Extensions..::..Rotate Method (Byte, Int32)

Rotates the specified byte by the rot count of bits. Left rot is positive.

Namespace:  Highpoint.Sage.Utility
Assembly:  Sage4 (in Sage4.dll)

Syntax


public static byte Rotate(
	this byte thisB,
	int rotCount
)

Parameters

thisB
Type: Byte
The specified byte.
rotCount
Type: Int32
The rot count.