Setu-TS
    Preparing search index...

    Interface IR2ObjectBody

    An R2 object together with its body.

    0.2.0

    interface IR2ObjectBody {
        body: ReadableStream<Uint8Array<ArrayBufferLike>>;
        etag: string;
        key: string;
        size: number;
        arrayBuffer(): Promise<ArrayBuffer>;
    }

    Hierarchy (View Summary)

    Index
    body: ReadableStream<Uint8Array<ArrayBufferLike>>

    The object body as a stream — the zero-copy download path.

    etag: string

    The object's entity tag.

    key: string

    The object key.

    size: number

    Object size in bytes.