lib: fix for FileHandle.readableWebStream · nodejs/node@01032f4 · GitHub
Skip to content

Commit 01032f4

Browse files
pdaehneaduh95
authored andcommitted
lib: fix for FileHandle.readableWebStream
Fixes FileHandle.readableWebStream in mode "byob" when reading into a view that has a byteOffset>0 into the underlying ArrayBuffer. Fixes: #58817 Signed-off-by: Patrick Dähne <pdaehne@gmail.com> PR-URL: #58842 Reviewed-By: Ethan Arrowood <ethan@arrowood.dev> Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com> Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Filip Skokan <panva.ip@gmail.com>
1 parent 70c1415 commit 01032f4

2 files changed

Lines changed: 32 additions & 1 deletion

File tree

‎lib/internal/fs/promises.js‎

Lines changed: 1 addition & 1 deletion

‎test/parallel/test-filehandle-readablestream.js‎

Lines changed: 31 additions & 0 deletions

0 commit comments

Comments
 (0)