0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-31 09:14:20 -04:00
denoland-deno/cli/tests/testdata/run/ffi/unstable_ffi_5.js
Aapo Alasuutari 722ea20e86
perf(ext/ffi): Fast UnsafePointerView read functions (#16351)
This PR makes pointer read methods of `Deno.UnsafePointerView` Fast API
compliant, with the exception of `getCString` which cannot be made fast
with current V8 Fast API.
2022-10-20 09:35:56 +05:30

1 line
65 B
JavaScript

Deno.core.ops.op_ffi_buf_copy_into(0n, 0, new Uint8Array(0), 0);