| 221 | |
| 222 | template <typename... Args> |
| 223 | Iterator<ChunkedBlock> MakeChunkingIterator(Iterator<std::shared_ptr<Buffer>> source, |
| 224 | Args&&... args) { |
| 225 | return MakeTransformedIterator(std::move(source), |
| 226 | ChunkingTransformer::Make(std::forward<Args>(args)...)); |
| 227 | } |
| 228 | |
| 229 | // NOTE: Not reentrant. Incoming buffers are processed sequentially and the transformer's |
| 230 | // internal state gets updated on each call. |
no test coverage detected