Byte.RotateRight(Byte, Int32) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Rotates a value right by a given amount.
public:
static System::Byte RotateRight(System::Byte value, int rotateAmount) = System::Numerics::IBinaryInteger<System::Byte>::RotateRight;
C#
public static byte RotateRight(byte value, int rotateAmount);
static member RotateRight : byte * int -> byte
Public Shared Function RotateRight (value As Byte, rotateAmount As Integer) As Byte
- value
- Byte
The value which is rotated right by rotateAmount
.
- rotateAmount
- Int32
The amount by which value
is rotated right.
The result of rotating value
right by rotateAmount
.
Product | Versions |
---|---|
.NET | 7, 8, 9 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: