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