PBCaGw.DataPacket.GetUInt16 C# (CSharp) Method

GetUInt16() public method

Returns an UInt16 at a given position
public GetUInt16 ( int position ) : UInt16
position int
return System.UInt16
        public UInt16 GetUInt16(int position)
        {
            return (UInt16)(((uint)Data[position + Offset] << 8)
                | Data[position + 1 + Offset]);
        }