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