Microsoft.SqlServer.TDS.TDSUtilities.ReadUShort C# (CSharp) Method

ReadUShort() static private method

Read unsigned short from the packet
static private ReadUShort ( Stream source ) : ushort
source Stream
return ushort
        internal static ushort ReadUShort(Stream source)
        {
            return (ushort)(source.ReadByte() + (ushort)(source.ReadByte() << 8));
        }