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): DrftNnet
import { readNnet } from '@driftengine/drft';

Parameters

ParameterTypeDescription
bufferArrayBuffer
offsetnumber
byteLengthnumber