mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
The same check is already spelled validateBuffer(view, 'view') in ReadableStreamBYOBRequest.respondWithNewView(), and the thrown error is unchanged. Signed-off-by: greenhead <shren0812@gmail.com> PR-URL: https://github.com/nodejs/node/pull/65046 Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>