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