IFClite TypeScript API
Guides
Packages
Preparing search index...
@ifc-lite/ifcx
detectFormat
Function detectFormat
detectFormat
(
buffer
:
ArrayBuffer
)
:
"ifcx"
|
"ifc"
|
"glb"
|
"unknown"
Detect if a buffer contains IFCX (JSON), IFC (STEP), or GLB (binary glTF) format.
Parameters
buffer
:
ArrayBuffer
Returns
"ifcx"
|
"ifc"
|
"glb"
|
"unknown"
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Guides
Packages
IFClite TypeScript API
Loading...
Detect if a buffer contains IFCX (JSON), IFC (STEP), or GLB (binary glTF) format.