| 20 | using PixelStream::read; |
| 21 | |
| 22 | ScriptedRunStream(std::vector<Color> pixels, |
| 23 | std::vector<uint32_t> run_lengths) |
| 24 | : pixels_(std::move(pixels)), run_lengths_(std::move(run_lengths)) {} |
| 25 | |
| 26 | void read(Color* buf, uint16_t size, uint32_t& run_length) override { |
| 27 | EXPECT_LE(idx_ + size, pixels_.size()); |
nothing calls this directly
no outgoing calls
no test coverage detected