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