javiJ
Deno3y ago
4 replies
javi

FFI Difference between buffer and pointer

I’ve been using interchangeably Deno.UnsafePointer.of(new Uint8Array()) with type pointer and new Uint8Array() with type buffer. Is there any major difference? Per se I don’t use char[] arrays, just pointers.
Was this page helpful?