Defines the 'bufferable' input sources supported by inputSourceByChunk.
This includes std.stdio.File objects and mutable dynamic ubyte arrays. Or, input
ranges with ubyte elements.
Static, const, and immutable arrays can be sliced to turn them into input ranges.
Note: The element types could easily be generalized much further if that were useful.
At present, the primary purpose of inputSourceByChunk is to have a range representing
a buffered file that can also take ubyte arrays as sources for unit testing.
Defines the 'bufferable' input sources supported by inputSourceByChunk.
This includes std.stdio.File objects and mutable dynamic ubyte arrays. Or, input ranges with ubyte elements.
Static, const, and immutable arrays can be sliced to turn them into input ranges.
Note: The element types could easily be generalized much further if that were useful. At present, the primary purpose of inputSourceByChunk is to have a range representing a buffered file that can also take ubyte arrays as sources for unit testing.