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