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

    Type Alias ByteRangeRequest

    Which bytes to read. Supply either offset/length or suffix, not both.

    type ByteRangeRequest = {
        length?: number;
        offset?: number;
        responseType?: "arraybuffer" | "blob" | "text";
        suffix?: number;
    }
    Index

    Properties

    length?: number

    How many bytes to read. Omit to read to the end of the object, subject to the server's per-request cap.

    offset?: number

    First byte to read, 0-based. Defaults to 0.

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

    Axios response type for the body. Defaults to arraybuffer.

    suffix?: number

    Read the final N bytes instead. Mutually exclusive with offset/length.