| 256 | using PixelStream::read; |
| 257 | |
| 258 | ParserStream(ColorMode mode, const string& content, Box extents, Box bounds) |
| 259 | : mode_(mode), |
| 260 | stream_(content), |
| 261 | extents_(extents), |
| 262 | bounds_(bounds), |
| 263 | x_(extents.xMin()), |
| 264 | y_(extents.yMin()) {} |
| 265 | |
| 266 | void read(Color* buf, uint16_t size, uint32_t& run_length) override { |
| 267 | run_length = 0; |