34#ifndef DOXYGEN_SHOULD_SKIP_THIS
98 std::size_t
read(uint8_t&
byte) {
107 virtual void seek(std::ptrdiff_t position) = 0;
114 virtual void skip(std::ptrdiff_t position) = 0;
188#ifndef DOXYGEN_SHOULD_SKIP_THIS
Abstract class for custom file output streams.
Definition: Stream.h:135
virtual std::size_t write(Span< const uint8_t > buffer)=0
Write data to the stream.
OutputStream()=default
Default constructor.
virtual std::size_t getWrittenBytesCount() const =0
Get the number of bytes already written.
OutputStream & operator=(const OutputStream &)=delete
Deleted copy assignment.
OutputStream(const OutputStream &)=delete
Deleted copy constructor.
virtual ~OutputStream()
Destructor.
std::size_t write(uint8_t byte)
Write a single byte to the stream.
Definition: Stream.h:173
The namespace for gf classes.