Return the int value of the two bytes at the file position determined by `base` and `offset`, similarly to ``read_long()`` above.
(self, base, offset=0)
| 44 | return self._read_int(fmt, base, offset) |
| 45 | |
| 46 | def read_short(self, base, offset=0): |
| 47 | """Return the int value of the two bytes at the file position determined by |
| 48 | `base` and `offset`, similarly to ``read_long()`` above.""" |
| 49 | fmt = b"<H" if self._byte_order is LITTLE_ENDIAN else b">H" |
| 50 | return self._read_int(fmt, base, offset) |
| 51 | |
| 52 | def read_str(self, char_count, base, offset=0): |
| 53 | """Return a string containing the `char_count` bytes at the file position |
no test coverage detected