(string: string)
| 3245 | }; |
| 3246 | // Helper function to escape special regex characters for literal string matching |
| 3247 | const escapeRegExp = (string: string): string => { |
| 3248 | return string.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); |
| 3249 | }; |
| 3250 | // Buffer pool for efficient memory reuse during pack operations |
| 3251 | class BufferPool { |
| 3252 | private pools = new Map<number, Buffer[]>(); |
no outgoing calls
no test coverage detected