| 71 | } |
| 72 | |
| 73 | uint16_t ByteArray::readUint16() { |
| 74 | if (!checkEndOfFile(2)) { |
| 75 | auto value = dataView.getUint16(_position); |
| 76 | positionChanged(2); |
| 77 | return value; |
| 78 | } |
| 79 | return 0; |
| 80 | } |
| 81 | |
| 82 | int32_t ByteArray::readInt32() { |
| 83 | if (!checkEndOfFile(4)) { |
no outgoing calls
no test coverage detected