1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00
denoland-deno/ext/node/ops
Bartek Iwańczuk dda0f1c343
refactor(serde_v8): split ZeroCopyBuf into JsBuffer and ToJsBuffer (#19566)
`ZeroCopyBuf` was convenient to use, but sometimes it did hide details
that some copies were necessary in certain cases. Also it made it way to easy
for the caller to pass around and convert into different values. This commit
splits `ZeroCopyBuf` into `JsBuffer` (an array buffer coming from V8) and
`ToJsBuffer` (a Rust buffer that will be converted into a V8 array buffer).

As a result some magical conversions were removed (they were never used)
limiting the API surface and preparing for changes in #19534.
2023-06-22 23:37:56 +02:00
..
crypto refactor(serde_v8): split ZeroCopyBuf into JsBuffer and ToJsBuffer (#19566) 2023-06-22 23:37:56 +02:00
zlib refactor(ext/node): reorganize ops (#18799) 2023-04-24 12:22:21 +02:00
http.rs refactor(node/http): don't use readablestream for writing to request (#19282) 2023-05-27 15:42:20 +02:00
idna.rs refactor(ext/node): reorganize ops (#18799) 2023-04-24 12:22:21 +02:00
mod.rs refactor(node): reimplement http client (#19122) 2023-05-17 01:20:32 +02:00
require.rs fix(node): duplicate node_module suffixes (#19222) 2023-05-23 12:46:14 +02:00
v8.rs refactor(ext/node): reorganize ops (#18799) 2023-04-24 12:22:21 +02:00
winerror.rs refactor(ext/node): reorganize ops (#18799) 2023-04-24 12:22:21 +02:00