@nextcloud/files
    Preparing search index...

    Interface Blob

    interface Blob {
        size: number;
        type: string;
        arrayBuffer(): Promise<ArrayBuffer>;
        bytes(): Promise<NonSharedUint8Array>;
        slice(start?: number, end?: number, contentType?: string): Blob;
        stream(): ReadableStream<NonSharedUint8Array>;
        text(): Promise<string>;
    }
    Index

    Properties

    size: number
    type: string

    Methods

    • Returns Promise<ArrayBuffer>

    • Parameters

      • Optionalstart: number
      • Optionalend: number
      • OptionalcontentType: string

      Returns Blob

    • Returns Promise<string>