Files
node/lib
Khafra 0eea7fd8fb stream: use Buffer.from when constructor is a Buffer
When using BYOB streams, it's possible for the constructor in
readableByteStreamControllerConvertPullIntoDescriptor to be a node
Buffer. If it is, use `Buffer.from` over `new ctor`.

Fixes https://github.com/nodejs/node/issues/49245

PR-URL: https://github.com/nodejs/node/pull/49250
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
Reviewed-By: LiviaMedeiros <livia@cirno.name>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
2023-09-10 18:09:30 +00:00
..
…
…
2023-07-13 17:20:01 -05:00
2023-07-03 10:38:39 -03:00
…
2023-01-10 05:38:36 +00:00
2023-08-17 08:35:58 -03:00
2023-05-03 08:34:24 +02:00
2023-03-26 18:03:58 +00:00
2023-07-13 17:20:02 -05:00
2023-08-15 14:33:59 -03:00
2023-08-15 14:33:58 -03:00
2023-07-13 17:20:02 -05:00
2023-05-12 11:56:59 +02:00
2023-02-21 15:33:29 +00:00
2023-07-13 17:20:01 -05:00
2023-05-12 11:56:59 +02:00
…
2023-07-13 17:20:00 -05:00
2023-05-12 11:56:59 +02:00