| 42 | } |
| 43 | |
| 44 | int8_t DecodeStream::readInt8() { |
| 45 | if (!checkEndOfFile(1)) { |
| 46 | auto value = dataView.getInt8(_position); |
| 47 | positionChanged(1); |
| 48 | return value; |
| 49 | } |
| 50 | return 0; |
| 51 | } |
| 52 | |
| 53 | uint8_t DecodeStream::readUint8() { |
| 54 | if (!checkEndOfFile(1)) { |