Here are the examples of the csharp api System.IO.Stream.WriteUInt16LE(ushort) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
3 Examples
19
Source : StreamExtensions.cs
with The Unlicense
from marcussacana
with The Unlicense
from marcussacana
public static void WriteInt16LE(this Stream s, short i)
{
s.WriteUInt16LE(unchecked((ushort)i));
}
19
Source : StreamExtensions.cs
with The Unlicense
from marcussacana
with The Unlicense
from marcussacana
public static void WriteLE(this Stream s, ushort i) => s.WriteUInt16LE(i);
19
Source : StreamExtensions.cs
with GNU Lesser General Public License v3.0
from maxton
with GNU Lesser General Public License v3.0
from maxton
public static void WriteBE(this Stream s, ushort i) => s.WriteUInt16LE(i.FlipEndian());