brows3r — TypeScript API
    Preparing search index...

    Function objectGetBytes

    • Fetch the first maxBytes bytes of an S3 object as base64-encoded binary.

      The frontend decodes with: Uint8Array.from(atob(payload.body), c => c.charCodeAt(0))

      Parameters

      • profileId: string

        The profile whose credentials to use.

      • bucket: string

        The bucket name.

      • key: string

        The full S3 key of the object.

      • OptionalmaxBytes: number

        Maximum bytes to return. Defaults to 1 MB on the backend.

      Returns Promise<BytesPayload>