RFID.RFIDInterface.PacketData.Parse_UInt16 C# (CSharp) Méthode

Parse_UInt16() private static méthode

private static Parse_UInt16 ( byte buffer, int offset ) : UInt16
buffer byte
offset int
Résultat System.UInt16
        private static UInt16 Parse_UInt16(byte[] buffer, int offset)
        {
            UInt16 result = BitConverter.ToUInt16(buffer, offset);
            //			result = (ushort)System.Net.IPAddress.NetworkToHostOrder((short)result);
            return result;
        }