Skip to content

Documentation / @imvu/chkn / cflToChkn

Function: cflToChkn() ​

ts
function cflToChkn(cfl): Uint8Array;

Defined in: packages/chkn/src/chkn.ts:19

Repackage a CFL as a .chkn, byte for byte — what cfl-converter did. Note that a CFL's textures are 16×16 placeholders; Product.toChkn swaps in the full-size originals from the CDN.

Parameters ​

ParameterType
cflArrayBuffer | Uint8Array<ArrayBufferLike>

Returns ​

Uint8Array

Released under the MIT License.