Model loading · type

Inflate

Turn a deflate stream into bytes. Supplied by the caller; see the note above.

Explained in Importing models.

type Inflate = (compressed: Uint8Array, expectedBytes: number) => Uint8Array
import type { Inflate } from '@driftengine/assets';