| 98 | return convertByteToByteWithInfinity(readByte(data, pos)); |
| 99 | } |
| 100 | bool readBool(std::vector<uint8_t> const& data, int& pos) |
| 101 | { |
| 102 | return static_cast<int8_t>(readByte(data, pos)) > 0; |
| 103 | } |
| 104 | int readWord(std::vector<uint8_t> const& data, int& pos) |
| 105 | { |
| 106 | return static_cast<int>(readByte(data, pos)) | (static_cast<int>(readByte(data, pos) << 8)); |
no test coverage detected