export function isZlibData ( data ) { const [ firstByte , secondByte ] = data ; return firstByte === 0x78 && ( secondByte === 0x01 || secondByte === 0x9C || secondByte === 0xDA ) ; } export async function decompressZlib ( data ) { const { inflate } = await import ( "pako" ) ; return inflate ( data ) ; }