Skip to content
@drupflare/spool v1.0.0 GitHub
    Preparing search index...

    Type Alias ImageCache

    converted bytes by content hash, quality and width

    type ImageCache = {
        get(key: string): Uint8Array<ArrayBufferLike> | undefined;
        set(key: string, bytes: Uint8Array): void;
    }
    Index
    • Parameters

      • key: string

      Returns Uint8Array<ArrayBufferLike> | undefined

    • Parameters

      • key: string
      • bytes: Uint8Array

      Returns void