Skip to content

cupertino-files / encodeIwaData

Function: encodeIwaData() ​

encodeIwaData(raw, chunkSize?): Uint8Array

Defined in: src/base/snappy.ts:434

Encode an archive stream as framed Snappy chunks (inverse of decodeIwaData).

Parameters ​

raw ​

Uint8Array

chunkSize? ​

number = IWA_CHUNK_SIZE

Returns ​

Uint8Array

MIT licensed. Independently made — not by Apple in California. Not affiliated with or endorsed by Apple Inc.