diff options
author | Jovi De Croock <decroockjovi@gmail.com> | 2023-12-31 12:50:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-31 17:20:37 +0530 |
commit | 08fc8d50e35a27835d497a631a6dcc0f733546de (patch) | |
tree | f5c1ba7b43bdf6d8590ca8e3c7b3e9fe4978860c /ext/node/polyfills/_fs/_fs_writeFile.ts | |
parent | 3db9c8742d986bb492cb87687c4a6bae357c956c (diff) |
fix(node/zlib): cast Dataview and Buffer to uint8 (#21746)
This fixes point 2 of #20516
This adds a conversion from Dataview/Buffer by returning `obj.buffer`
which can be converted to a `UInt8Array`.
Question: Regarding point 4 of the mentioned issue would it be
appropriate to copy the toU8 helper to the `zlib.mjs` methods?
Diffstat (limited to 'ext/node/polyfills/_fs/_fs_writeFile.ts')
0 files changed, 0 insertions, 0 deletions