Methods
(async) copyTo(stream, bufferSize, progressListener)
Write stream contents to another stream.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
stream |
RandomAccessStream | The target stream. | |
bufferSize |
number | null | null | The buffer size to be used when copying. |
progressListener |
null |
Throws:
IOException Thrown if there is an IO error.