Files
node/lib
Michaël Zasso 99a79e32a6 fs: fix fs.promises.writeFile with typed arrays
Before this change, only the first part of typed arrays which have more
than 1 byte per element (e.g. Uint16Array) would be written.
This also removes the use of the `slice` method to avoid unnecessary
copying the data.

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

PR-URL: https://github.com/nodejs/node/pull/35376
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
2020-09-29 11:54:35 -04:00
..
2020-02-18 22:15:50 -08:00
2020-09-15 11:20:08 -04:00
2020-06-30 09:34:02 -07:00
2020-06-30 09:33:57 -07:00
2020-09-07 12:29:20 -04:00
2020-06-30 09:34:15 -07:00
2020-06-30 09:34:17 -07:00
2020-06-30 09:34:26 -07:00
2018-11-20 10:42:31 -08:00
2020-03-09 12:44:16 +01:00
2020-05-04 14:23:19 +02:00
2019-12-11 16:38:06 -06:00
2020-08-20 15:05:09 +01:00
2020-05-16 12:52:06 -07:00
2020-07-16 17:08:56 -04:00