| 108 | |
| 109 | |
| 110 | uint64_t BinaryReader::ReadPointer() |
| 111 | { |
| 112 | size_t addressSize = m_view->GetAddressSize(); |
| 113 | if (addressSize > 8 || addressSize == 0) |
| 114 | throw ReadException(); |
| 115 | |
| 116 | if (GetEndianness() == BigEndian) |
| 117 | return ReadBEPointer(); |
| 118 | |
| 119 | return ReadLEPointer(); |
| 120 | } |
| 121 | |
| 122 | |
| 123 | uint16_t BinaryReader::ReadLE16() |
no test coverage detected