Here are the examples of the csharp api System.IO.Stream.ReadUInt16BE() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
19
Source : StreamExtensions.cs
with MIT License
from GrapeCity
with MIT License
from GrapeCity
public static ushort ReadUInt16(this Stream s, bool bigEndian)
{
return bigEndian ? s.ReadUInt16BE() : s.ReadUInt16LE();
}