(make-pointer-of-type datatype size-or-data)
(make-pointer-of-type datatype size-or-data options)
(make-typed-pointer datatype elem-count-or-seq)
(make-typed-pointer datatype elem-count-or-seq options)
Make a 'typed' pointer, a type where the pointer type differs from the datatype. Used to support datatypes that do not exist in the jvm.
Make a 'typed' pointer, a type where the pointer type differs from the datatype. Used to support datatypes that do not exist in the jvm.
(offset-pointer ptr offset)
Create a 'fake' temporary pointer to use in api calls. Note this function is threadsafe while (.position ptr offset) is not.
Create a 'fake' temporary pointer to use in api calls. Note this function is threadsafe while (.position ptr offset) is not.
Anything convertible to a pointer that shares the backing store. Datatypes do not have to match.
Anything convertible to a pointer that shares the backing store. Datatypes do not have to match.
(->ptr-backing-store item)
(ptr->buffer ptr)
Get a nio buffer from the pointer to use in other places. Note this function is threadsafe while a raw .asBuffer call is not!!! https://github.com/bytedeco/javacpp/issues/155.
Get a nio buffer from the pointer to use in other places. Note this function is threadsafe while a raw .asBuffer call is not!!! https://github.com/bytedeco/javacpp/issues/155.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close