Skip to content

GetReadStreamFn

GetReadStreamFn = (offset, len?) => ReadableStream<Uint8Array> | Promise<ReadableStream<Uint8Array>>

Defined in: bik-decoder.ts:215

Function for returning a Web Streams API readable stream for reading sequential data from a BIK file.

Currently len is always undefined, so the function should just return a stream for accessing the rest of the file from the given start position.

Advance deprecation warning: It is intended that this function will soon be replaced with a more flexible and easier to use system for accessing streams.

number

number

ReadableStream<Uint8Array> | Promise<ReadableStream<Uint8Array>>