andykais
andykais2y ago

op_ffi_cstr_read replacement now that deno.core.ops is gone?

The latest release removed Deno.core.ops, which a library of mine relied on to use op_ffi_cstr_read to read Deno.PointerValue into a string. Is there an alternative?
1 Reply
Andreu Botella (they/them)
it seems like Deno.UnsafePointerView.getCString lets you do that, without having to call an op directly