nsIArrayBufferInputStream

nsIArrayBufferInputStream

Provides scriptable methods for initializing a nsIInputStream
implementation with an ArrayBuffer.

Methods

setData(buffer, byteOffset, byteLen)

SetData - assign an ArrayBuffer to the input stream.

Parameters

buffer - stream data
byteOffset - stream data offset
byteLen - stream data length