Io - GlbContainer
API reference — the GlbContainer doors of @huukhanhnguyen/io: readers, writers and their option / result types, all on this page.
import { CHUNK_TYPE_BIN, CHUNK_TYPE_JSON } from '@huukhanhnguyen/io'Source: ./glbContainer. See all formats or the Guide.
API reference
Signatures are generated from the live package .d.ts - not hand-written.
CHUNK_TYPE_BIN
const
const CHUNK_TYPE_BIN = 5130562CHUNK_TYPE_JSON
const
const CHUNK_TYPE_JSON = 1313821514GLB_MAGIC
const
const GLB_MAGIC = 1179937895parseGlbContainer
function
parseGlbContainer(bytes: Uint8Array): { document: Record<string, unknown>; bin: Uint8Array | undefined; jsonText: string; }