@ptkl/sdk - v1.18.0
    Preparing search index...

    Type Alias ByteStreamOptions

    Options for walking an object window by window.

    type ByteStreamOptions = {
        chunkSize?: number;
        offset?: number;
        responseType?: "arraybuffer" | "blob" | "text";
    }
    Index

    Properties

    chunkSize?: number

    Bytes per window. Defaults to 1 MiB. The server may return less.

    offset?: number

    Byte offset to start from. Defaults to 0.

    responseType?: "arraybuffer" | "blob" | "text"

    Axios response type for each window. Defaults to arraybuffer.