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): BcImageimport { readBcPayload } from '@driftengine/drft';Parameters
| Parameter | Type | Description |
|---|---|---|
width | number | |
height | number | |
bytes | Uint8Array |