bytesToGeometry MethodStatic

Deserialize bytes from a flatbuffer.

bytesToGeometry(justTheBytes: Uint8Array, hasVersionSignature: boolean = false): GeometryQuery | GeometryQuery[] | undefined

Parameter Type Description
justTheBytes Uint8Array FlatBuffer bytes as created by BGFBWriter.createFlatBuffer
hasVersionSignature boolean Whether the input bytes include a version prefix. Pass true for iModel FB geometry streams.

Returns - GeometryQuery | GeometryQuery[] | undefined

Defined in

Last Updated: 23 June, 2026