Sage Modeling and Simulation Library

GuidOps..::..Rotate Method

Rotates the specified guid by the number of bits. Negative rotation is right-rotation. Be aware that it is the byte-array that is rotated, not the textual representation of the Guid, so the textual look of the rotated guids may be in a surprising order.

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


public static Guid Rotate(
	Guid a,
	int n


Type: Guid
The guid to rotate.
Type: Int32
The number of places left to rotate it.

Return Value