Function asInputRange

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

auto auto asInputRange(ulong extendRequestSize = 0, Chain) (
  Chain c

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


extendRequestSize The value to pass to c.extend when calling popFront
c The chain to use as backing for this range.