Source/NFX/Serialization/BSON/BinUtils.cs
/// <summary>
/// Reads 16-bit int from stream
/// </summary>
Reads 16-bit int from stream
Reads 16 - bit int from stream
public static Int16 ReadInt16(Stream stream)
      {
        var buf = readFromStream(stream, 2, "ReadInt16");
        return (short)(buf[0] | (buf[1] << 8));
      }
public static Int16 ReadInt16 ( Stream stream ) { var buf = readFromStream ( stream , 2 , " " ) ; return ( short ) ( buf [ 0 ] | ( buf [ 1 ] << 8 ) ) ; }
Reads 16-bit int from stream
Reads 16 - bit int from stream
stream
Stream