Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c sharp right rotation

public static uint RotateLeft(this uint value, int count)
{
    return (value << count) | (value >> (32 - count))
}

public static uint RotateRight(this uint value, int count)
{
    return (value >> count) | (value << (32 - count))
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sharp #rotation
ADD COMMENT
Topic
Name
8+7 =