Source/NFX/IOMiscUtils.cs
/// <summary>
/// Writes an integer encoded as big endian to the given stream
/// </summary>
Writes an integer encoded as big endian to the given stream
Writes an integer encoded as big endian to the given stream
public static void WriteBEInt32(this Stream s, Int32 value)
        {
            s.WriteByte((byte)(value  >> 24));
            s.WriteByte((byte)(value  >> 16));
            s.WriteByte((byte)(value  >> 8));
            s.WriteByte((byte)(value));
        }
public static void WriteBEInt32 ( this Stream s , Int32 value ) { s . WriteByte ( ( byte ) ( value >> 24 ) ) ; s . WriteByte ( ( byte ) ( value >> 16 ) ) ; s . WriteByte ( ( byte ) ( value >> 8 ) ) ; s . WriteByte ( ( byte ) ( value ) ) ; }
Writes an integer encoded as big endian to the given stream
Writes an integer encoded as big endian to the given stream
Stream
this
<not_specific>
value
Int32
<not_specific>