MCPcopy Create free account
hub / github.com/CCob/BOF.NET / ReadUInt16BE

Method ReadUInt16BE

managed/BOFNET/Utils.cs:32–34  ·  view source on GitHub ↗
(this BinaryReader binRdr)

Source from the content-addressed store, hash-verified

30 }
31
32 public static UInt16 ReadUInt16BE(this BinaryReader binRdr) {
33 return BitConverter.ToUInt16(binRdr.ReadBytes(sizeof(UInt16)).Reverse(), 0);
34 }
35
36 public static Int16 ReadInt16BE(this BinaryReader binRdr) {
37 return BitConverter.ToInt16(binRdr.ReadBytes(sizeof(Int16)).Reverse(), 0);

Callers

nothing calls this directly

Calls 1

ReverseMethod · 0.80

Tested by

no test coverage detected