1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 07:44:48 -05:00
denoland-deno/core/runtime
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
..
bindings.js chore(core): Refactor runtime and split out tests (#19491) 2023-06-14 02:03:10 +00:00
bindings.rs refactor(core): some runtime methods should live on the module map (#19502) 2023-06-14 16:45:59 +00:00
encode_decode_test.js chore(core): Refactor runtime and split out tests (#19491) 2023-06-14 02:03:10 +00:00
error_builder_test.js chore(core): Refactor runtime and split out tests (#19491) 2023-06-14 02:03:10 +00:00
icudtl.dat chore(core): Refactor runtime and split out tests (#19491) 2023-06-14 02:03:10 +00:00
jsrealm.rs chore(core): Refactor runtime and split out tests (#19491) 2023-06-14 02:03:10 +00:00
jsruntime.rs refactor(core): some runtime methods should live on the module map (#19502) 2023-06-14 16:45:59 +00:00
mod.rs refactor(core): some runtime methods should live on the module map (#19502) 2023-06-14 16:45:59 +00:00
ops.rs refactor(core): Remove MaybeDone from ops to eventually remove the box (#19508) 2023-06-14 16:22:54 -06:00
serialize_deserialize_test.js chore(core): Refactor runtime and split out tests (#19491) 2023-06-14 02:03:10 +00:00
snapshot_util.rs chore(core): Refactor runtime and split out tests (#19491) 2023-06-14 02:03:10 +00:00
tests.rs refactor(serde_v8): split ZeroCopyBuf into JsBuffer and ToJsBuffer (#19566) 2023-06-22 23:37:56 +02:00