| 5 | StreamReader::StreamReader(FileSystem::InputStream &inputStream) : _inputStream(inputStream) {} |
| 6 | |
| 7 | uint8_t StreamReader::readByte() const { return static_cast<uint8_t>(_inputStream.get()); } |
| 8 | |
| 9 | void StreamReader::readBytes(std::span<uint8_t> data) const { |
| 10 | if (data.empty()) { |