BitExtensionsBitRotL(SByte, Int32) Method
Performs rightwise bit-rotation for the specified number of rotations.
Namespace: Gemstone.BitExtensionsAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.147 -- Release Build+759c9d29b79c81f10905de8f58b653be932045f0
public static sbyte BitRotL(
this sbyte value,
int rotations
)
<ExtensionAttribute>
Public Shared Function BitRotL (
value As SByte,
rotations As Integer
) As SByte
public:
[ExtensionAttribute]
static signed char BitRotL(
signed char value,
int rotations
)
Gemstone.BitExtensions.BitExtensions.BitRotL = function(value, rotations);
- value SByte
- Value used for bit-rotation.
- rotations Int32
- Number of rotations to perform.
SByteValue that has its bits rotated to the right the specified number of times.In Visual Basic and C#, you can call this method as an instance method on any object of type
SByte. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Actual rotation direction is from a big-endian perspective - this is an artifact of the native
.NET bit shift operators. As a result bits may actually appear to rotate right on little-endian
architectures.