The .drft container · function

readSdfv

Read the chunk, refusing every shape a reader would otherwise have to trust.

Explained in The .drft container.

function readSdfv(buffer: ArrayBuffer, offset: number, byteLength: number): DrftSdfv
import { readSdfv } from '@driftengine/drft';

Parameters

ParameterTypeDescription
bufferArrayBuffer
offsetnumber
byteLengthnumber