A helper function for copyTo, that uses a buffer created from an std.experimental.allocator Allocator. The buffer is of course disposed of afterwards.
The allocator to use.
The stream to copy the data to.
The size to give the buffer.
[Only for non-static allocator] the allocator instance to use.
See Implementation
A helper function for copyTo, that uses a buffer created from an std.experimental.allocator Allocator. The buffer is of course disposed of afterwards.