(->typed-pointer item)
Creates a typed-pointer object. Implement PToPtr, mp/PElementCount, and dtype-base/get-datatype and we convert your thing to a typed pointer.
Creates a typed-pointer object. Implement PToPtr, mp/PElementCount, and dtype-base/get-datatype and we convert your thing to a typed pointer.
(as-typed-pointer item)
Get something substitutable as a typed-pointer. Implement all the protocols necessary to be tech.datatype.java-unsigned/typed-buffer and PToPtr and you can be considered a typed-pointer.
Get something substitutable as a typed-pointer. Implement all the protocols necessary to be tech.datatype.java-unsigned/typed-buffer *and* PToPtr and you can be considered a typed-pointer.
(memcpy dst src n-bytes)
Copy bytes from one object to another
Copy bytes from one object to another
(memset data val num-bytes)
Set a block of memory to a value
Set a block of memory to a value
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close