MCPcopy Index your code
hub / github.com/CCob/BOF.NET / ReadInt16BE

Method ReadInt16BE

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

Source from the content-addressed store, hash-verified

34 }
35
36 public static Int16 ReadInt16BE(this BinaryReader binRdr) {
37 return BitConverter.ToInt16(binRdr.ReadBytes(sizeof(Int16)).Reverse(), 0);
38 }
39
40 public static UInt32 ReadUInt32BE(this BinaryReader binRdr) {
41 return BitConverter.ToUInt32(binRdr.ReadBytes(sizeof(UInt32)).Reverse(), 0);

Callers 1

UnpackMethod · 0.80

Calls 1

ReverseMethod · 0.80

Tested by

no test coverage detected