IFClite TypeScript API
    Preparing search index...

    Class MemoryBlobStore

    Implements

    Index
    • Parameters

      • hash: string

      Returns Promise<boolean>

    • Parameters

      • hash: string

      Returns Promise<Uint8Array<ArrayBufferLike> | null>

    • Parameters

      • hash: string

      Returns Promise<boolean>

    • Recompute this backend's content identity without writing the blob.

      Parameters

      • bytes: Uint8Array

      Returns string

    • List currently-known blob hashes; ordering is implementation-defined.

      Returns Promise<string[]>

    • Parameters

      • bytes: Uint8Array
      • OptionalcontentType: string

      Returns Promise<BlobMeta>

    • Return the blob's metadata (size, contentType, uploadedAt) without downloading the bytes. Backends that can't cheaply compute this may return null and force callers to fall back to get.

      Parameters

      • hash: string

      Returns Promise<BlobMeta | null>