MCPcopy Create free account
hub / github.com/AbyssEngine/AbyssEngineOld / readByte

Method readByte

src/Abyss/Streams/StreamReader.cpp:7–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

DT1Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected