(offset: number)
| 95 | const decompressPackedPayload = async (buffer: Buffer, context?: string): Promise<Buffer> => { |
| 96 | const offsets = [] as number[]; |
| 97 | const addOffset = (offset: number) => { |
| 98 | if (offset < 0 || offset >= buffer.length) return; |
| 99 | if (!offsets.includes(offset)) offsets.push(offset); |
| 100 | }; |
| 101 | addOffset(4); |
| 102 | addOffset(0); |
| 103 | for (let i = 0; i <= Math.min(32, buffer.length - 4); i++) { |
no outgoing calls
no test coverage detected