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