( fn: ((data: string, format: string) => Uint32Array) | undefined, )
| 11 | * @param fn - inflate function |
| 12 | */ |
| 13 | export function setInflateFunction( |
| 14 | fn: ((data: string, format: string) => Uint32Array) | undefined, |
| 15 | ) { |
| 16 | inflateFunction = fn; |
| 17 | } |
| 18 | |
| 19 | /** |
| 20 | * decompress and decode zlib/gzip data |