![]() |
Gamedev Framework (gf)
0.10.0
A C++14 framework for 2D games
|
Compressed output stream. More...
#include <gf/Streams.h>
Public Member Functions | |
CompressedOutputStream (OutputStream &compressed) | |
Constructor. More... | |
~CompressedOutputStream () | |
Destructor. More... | |
virtual std::size_t | write (ArrayRef< uint8_t > buffer) override |
Write data to the stream. More... | |
![]() | |
OutputStream ()=default | |
Default constructor. More... | |
OutputStream (const InputStream &)=delete | |
Deleted copy constructor. More... | |
OutputStream & | operator= (const InputStream &)=delete |
Deleted copy assignment. More... | |
virtual | ~OutputStream () |
Destructor. More... | |
std::size_t | write (uint8_t byte) |
Write a single byte to the stream. More... | |
Compressed output stream.
|
explicit |
Constructor.
compressed | A stream to store the compressed data |
gf::CompressedOutputStream::~CompressedOutputStream | ( | ) |
Destructor.
|
overridevirtual |
Write data to the stream.
buffer | The buffer to copy to the stream |
Implements gf::OutputStream.