The .drft container · function
readNgrf
Read the chunk, refusing every structure and offset a reader would otherwise have to trust.
Explained in The .drft container.
function readNgrf(buffer: ArrayBuffer, offset: number, byteLength: number): DrftGraph[]import { readNgrf } from '@driftengine/drft';Parameters
| Parameter | Type | Description |
|---|---|---|
buffer | ArrayBuffer | |
offset | number | |
byteLength | number |