(this BinaryReader binRdr)
| 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); |