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