* Read a word (16 bits) from the file (in low endian format). * @return Read word. */
| 122 | * @return Read word. |
| 123 | */ |
| 124 | uint16_t RandomAccessFile::ReadWord() |
| 125 | { |
| 126 | uint8_t b = this->ReadByte(); |
| 127 | return (this->ReadByte() << 8) | b; |
| 128 | } |
| 129 | |
| 130 | /** |
| 131 | * Read a double word (32 bits) from the file (in low endian format). |
no test coverage detected