API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

C

classBinaryFactory

@codexo/exojs / resources / stable

AssetFactory implementation that loads arbitrary binary files and exposes them as raw ArrayBuffer instances. Use this for any binary format that does not have a dedicated factory (e.g. custom data files, packed archives, or proprietary formats).

1
props
5
methods
0
events
Import
import { BinaryFactory } from '@codexo/exojs'

AssetFactory implementation that loads arbitrary binary files and exposes them as raw ArrayBuffer instances.

Use this for any binary format that does not have a dedicated factory (e.g. custom data files, packed archives, or proprietary formats).

Constructors 1
new(): BinaryFactory
Methods 5
create(source: ArrayBuffer): Promise<ArrayBuffer>
createObjectUrl(blob: Blob): string
destroy(): void
process(response: Response): Promise<ArrayBuffer>
revokeObjectUrl(objectUrl: string): void
Properties 1
storageName: "binary"
Source