Stream.copyToGC

A helper function for copyTo, that uses a buffer allocated by the GC.

class Stream
final
void
copyToGC

Parameters

to Stream

The stream to copy the data to.

bufferSize size_t

The size to give the buffer.

Meta