ChunkedArrayBufferStream class

Extends
Stream<ArrayBuffer>

Constructors

ChunkedArrayBufferStream(number, string)

Properties

getReader
id
isClosed

Methods

close()
writeStreamChunk(IStreamChunk<ArrayBuffer>)

Constructor Details

ChunkedArrayBufferStream(number, string)

new ChunkedArrayBufferStream(targetChunkSize: number, streamId?: string)

Parameters

targetChunkSize
number
streamId
string

Property Details

getReader

getReader: () => StreamReader<ArrayBuffer>

Property Value

() => StreamReader<ArrayBuffer>

id

id: string

Property Value

string

isClosed

isClosed: boolean

Property Value

boolean

Method Details

close()

function close()

writeStreamChunk(IStreamChunk<ArrayBuffer>)

function writeStreamChunk(chunk: IStreamChunk<ArrayBuffer>)

Parameters

chunk
IStreamChunk<ArrayBuffer>