keynote-parser2
Version:
A library for parsing Apple Keynote file
14 lines (13 loc) • 410 B
TypeScript
/**
* Unpack IWA file chunk data from snappy frame
*
* - 0: 0x00
* - 1 ~ 3: length of the chunk data (little-endian)
* - 4 ~ 4 + chunk data length: snappy compressed chunk data
*
* @see https://github.com/obriensp/iWorkFileFormat/blob/master/Docs/index.md#snappy-compression
*/
export declare const parseIwaSnappyFrame: (data: Buffer, cursor: number) => {
chunk: Buffer;
nextCursor: number;
};