Source manager that allow us to read from a std::istream. More...
#include <png.hpp>
Public Member Functions | |
| source_manager (std::istream &is) | |
| Constructor. | |
| void | read (png_bytep data, png_size_t length) |
| Read data from the input stream. | |
| claw::graphic::png::reader::source_manager::source_manager | ( | std::istream & | is | ) |
| void claw::graphic::png::reader::source_manager::read | ( | png_bytep | data, |
| png_size_t | length ) |
Read data from the input stream.
| data | (out) Array of the bytes we have read. |
| length | Number of bytes to read. |
Definition at line 68 of file png_reader.cpp.