static public ReverseBytes ( ushort input ) : ushort | ||
input | ushort | |
Результат | ushort |
static public ushort ReverseBytes(ushort input)
{
return (ushort)(((input & 0x00FFU) << 8) |
((input & 0xFF00U) >> 8));
}
static public uint ReverseBytes(uint input)
ByteBuffer::ReverseBytes ( uint input ) : uint | |
ByteBuffer::ReverseBytes ( ulong input ) : ulong |