private static Parse_UInt16 ( byte buffer, int offset ) : |
||
buffer | byte | |
offset | int | |
return |
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;
}