The OpenD Programming Language

LazyPngFile.rawDatastreamByChunk

Lazily reads and decompresses the image datastream, returning chunkSize bytes of it per front. It does *not* change anything, so the filter byte is still there.

If chunkSize == 0, it automatically calculates chunk size to give you data by line.

struct LazyPngFile(LazyPngChunksProvider)
rawDatastreamByChunk
(
int chunkSize = 0
)
if (
isInputRange!(LazyPngChunksProvider) &&
is(ElementType!(LazyPngChunksProvider) == Chunk)
)

Meta