D
Deno
J
Deno
•
4y ago
•
4 replies
javi
FFI Difference between buffer and pointer
I
’ve been using interchangeably
Deno.UnsafePointer.of(new Uint8Array())
Deno.UnsafePointer.of(new Uint8Array())
with type
pointer
pointer
and
new Uint8Array()
new Uint8Array()
with type buffer
. Is there any major difference
? Per se I don
’t use
char[]
char[]
arrays
, just pointers
.
Deno
Join
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
rust ffi buffer overflow
S
scarf / help
3y ago
FFI: How to pass a pointer to a char pointer?
L
Leokuma / help
3y ago
Deno Pointer FFI error, malloc(): invalid size (unsorted)
B
b0yediti0n / help
7mo ago