(value: number | null)
| 129 | private extractGobFieldInts(payload: Buffer, fieldName: string): number[] { |
| 130 | const ids: number[] = []; |
| 131 | const push = (value: number | null) => { |
| 132 | if (typeof value !== 'number' || Number.isNaN(value)) return; |
| 133 | if (value <= 0 || value > 10_000_000) return; |
| 134 | if (!ids.includes(value)) ids.push(value); |
| 135 | }; |
| 136 | |
| 137 | const marker = Buffer.concat([ |
| 138 | Buffer.from(fieldName, 'utf8'), |
no outgoing calls