Source/NFX/Serialization/BSON/BinUtils.cs
/// <summary>
/// Writes 16-bit int to stream
/// </summary>
Writes 16-bit int to stream
Writes 16 - bit int to stream
public static void WriteInt16(Stream stream, short value)
      {
        stream.WriteByte((byte)value);
        stream.WriteByte((byte)(value >> 8));
      }
public static void WriteInt16 ( Stream stream , short value ) { stream . WriteByte ( ( byte ) value ) ; stream . WriteByte ( ( byte ) ( value >> 8 ) ) ; }
Writes 16-bit int to stream
Writes 16 - bit int to stream
stream
Stream
value
short