Returns a range that reads from the pipeline one chunk at a time.
auto arr = [ 42, 41, 40, 39, 38, 37, 36 ]; assert(arr.byChunk(2).equal([[ 42, 41 ], [ 40, 39 ], [ 38, 37 ], [ 36 ]])); int[3] buf; assert(arr.byChunk(buf[]).equal([[ 42, 41, 40 ], [ 39, 38, 37 ], [ 36 ]]));
See Implementation
Returns a range that reads from the pipeline one chunk at a time.