| 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)); |
| 107 | } |
| 108 | //between -1 and 1 |
| 109 | float readFloat(std::vector<uint8_t> const& data, int& pos) |
| 110 | { |
no test coverage detected