DriftTexture · type
PageDecode
How a page's bytes are produced. Supplied by the caller: a cache cannot know a format.
Explained in DriftTexture.
type PageDecode = (hash: string, into: Uint8Array) => voidimport type { PageDecode } from '@driftengine/texture';