| 33 | * valid for 2-byte, 4-byte and 8-byte variables |
| 34 | */ |
| 35 | template <class T> void read_be(T &val) |
| 36 | { |
| 37 | val = util::bigswap(*(T *)current); |
| 38 | current += sizeof(T); |
| 39 | } |
| 40 | /** |
| 41 | * Read a string in the format: |
| 42 | * 2B length (big endian, unsigned) |
no test coverage detected