asInputRange

Convert an io pipe into a range, with each popFront releasing all the current data and extending a specified amount.

Note that the function may call extend once before returning, depending on whether there is any data present or not.

asInputRange
(
size_t extendRequestSize = 0
Chain
)
(
Chain c
)
if (
isIopipe!Chain
)

Parameters

c Chain

The chain to use as backing for this range.

Meta