The .drft container · function

readBcPayload

A payload read back, its levels as views over bytes.

Explained in The .drft container.

function readBcPayload(width: number, height: number, bytes: Uint8Array): BcImage
import { readBcPayload } from '@driftengine/drft';

Parameters

ParameterTypeDescription
widthnumber
heightnumber
bytesUint8Array