19 virtual void write(std::size_t numBytes,
const std::byte* bytes) = 0;
31 virtual void seekPut(std::size_t pos) = 0;
37 virtual std::optional<std::size_t>
tellPut() = 0;
42 operator bool ()
const override = 0;
50 virtual std::size_t
writeSome(std::size_t numBytes,
const std::byte* bytes);
64 write(numBytes, out_bytes);
Definition IDataStream.h:9
Definition IOutputStream.h:13
virtual std::size_t writeSome(std::size_t numBytes, const std::byte *bytes)
Write some data in the form of raw bytes. The method may return before finish writing all bytes....
Definition IOutputStream.h:62
virtual void write(std::size_t numBytes, const std::byte *bytes)=0
Write data in the form of raw bytes in one go. The method does not return before finishing the writin...
void writeLine(std::string_view str)
Write a line. Equivalent to calling writeString(std::string_view) with ' ' as an extra character.
Definition IOutputStream.h:68
virtual std::optional< std::size_t > tellPut()=0
Get the current output position of the stream. The unit of the position is defined by the implementat...
virtual void seekPut(std::size_t pos)=0
Set the output position of the stream. The unit of the position is defined by the implementation.
virtual void writeString(std::string_view str)=0
Write a string in one go.
The root for all renderer implementations.
Definition EEngineProject.h:6