mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
def0e3aabf
## Summary Use `Buffer.indexOf` when available in `uint8array-helpers.ts` for faster byte sequence scanning. Falls back to the existing manual loop on non-Node environments. ## Test plan - [ ] `pnpm test-unit test/unit/stream-utils/uint8array-helpers.test.ts` passes