Class: RandomAccessStream

RandomAccessStream()

Base class for read-write seekable streams.

Constructor

new RandomAccessStream()

Source:

Methods

(async) copyTo(stream, bufferSize, onProgressChanged)

Write stream contents to another stream.
Parameters:
Name Type Default Description
stream RandomAccessStream The target stream.
bufferSize number 0 The buffer size to be used when copying.
onProgressChanged OnProgressChanged The listener to notify when progress changes.
Source:
Throws:
IOException Thrown if there is an IO error.