MCLawl.PlayerBot.NTHO C# (CSharp) Метод

NTHO() приватный Метод

private NTHO ( byte x, int offset ) : ushort
x byte
offset int
Результат ushort
        ushort NTHO(byte[] x, int offset)
        {
            byte[] y = new byte[2];
            Buffer.BlockCopy(x, offset, y, 0, 2); Array.Reverse(y);
            return BitConverter.ToUInt16(y, 0);
        }