37#ifndef DOXYGEN_SHOULD_SKIP_THIS 
   65    void seek(std::ptrdiff_t position) 
override;
 
   66    void skip(std::ptrdiff_t position) 
override;
 
   91    void seek(std::ptrdiff_t position) 
override;
 
   92    void skip(std::ptrdiff_t position) 
override;
 
  120    void seek(std::ptrdiff_t position) 
override;
 
  121    void skip(std::ptrdiff_t position) 
override;
 
  125    static constexpr uInt BufferSize = 256;
 
  132    Bytef m_buffer[BufferSize];
 
  157    virtual void seek(std::ptrdiff_t position) 
override;
 
  158    virtual void skip(std::ptrdiff_t position) 
override;
 
  161    std::vector<uint8_t> *m_bytes;
 
  162    std::size_t m_offset;
 
  204    std::size_t m_written;
 
  228    std::size_t m_offset;
 
  254    static constexpr uInt BufferSize = 256;
 
  258    Bytef m_buffer[BufferSize];
 
  286    std::vector<uint8_t> *m_bytes;
 
  289#ifndef DOXYGEN_SHOULD_SKIP_THIS 
Buffer output stream.
Definition: Streams.h:266
virtual std::size_t write(Span< const uint8_t > buffer) override
Write data to the stream.
BufferOutputStream(std::vector< uint8_t > *bytes)
Constructor.
virtual std::size_t getWrittenBytesCount() const override
Get the number of bytes already written.
std::vector< uint8_t > * getBytes()
Get the underlying bytes.
Definition: Streams.h:278
Compressed output stream.
Definition: Streams.h:236
std::size_t write(Span< const uint8_t > buffer) override
Write data to the stream.
CompressedOutputStream(OutputStream &compressed)
Constructor.
~CompressedOutputStream()
Destructor.
std::size_t getWrittenBytesCount() const override
Get the number of bytes already written.
File based output stream.
Definition: Streams.h:170
Mode
Open mode for the file.
Definition: Streams.h:175
~FileOutputStream()
Destructor.
std::size_t write(Span< const uint8_t > buffer) override
Write data to the stream.
std::size_t getWrittenBytesCount() const override
Get the number of bytes already written.
FileOutputStream(const Path &path, Mode mode=Mode::Write)
Constructor.
Memory based output stream.
Definition: Streams.h:211
std::size_t write(Span< const uint8_t > buffer) override
Write data to the stream.
std::size_t getWrittenBytesCount() const override
Get the number of bytes already written.
MemoryOutputStream(Span< uint8_t > memory)
Constructor.
Abstract class for custom file output streams.
Definition: Stream.h:135
std::filesystem::path Path
A path in the filesystem.
Definition: Path.h:40
The namespace for gf classes.