parse

fun parse(bytes: ByteArray, offset: Int = 0, length: Int = bytes.size - offset): GlbReader.Decoded

Parameters

bytes

the GLB blob — typically the tail of a b3dm payload after the feature + batch tables, or a standalone .glb fetched via the 3D Tiles 1.1 content path.

offset

start of the GLB inside bytes. Default 0.

length

length of the GLB inside bytes. Default bytes.size - offset.