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