Java specific mappings of the datatype system.
Java specific mappings of the datatype system.
(buffer-buffer-copy src-dtype
dst-dtype
unchecked?
src
src-offset
dst
dst-offset
n-elems
options)
(ensure-ptr-like item)
JNA is extremely flexible in what it can take as an argument. Anything convertible to a nio buffer, be it direct or array backend is fine.
JNA is extremely flexible in what it can take as an argument. Anything convertible to a nio buffer, be it direct or array backend is fine.
(make-array-of-type datatype elem-count-or-seq)
(make-array-of-type datatype elem-count-or-seq options)
(make-buffer-of-type datatype elem-count-or-seq)
(make-buffer-of-type datatype elem-count-or-seq options)
(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
(memset-constant item offset value elem-count)
Try to memset a constant value. Returns true if succeeds, false otherwise
Try to memset a constant value. Returns true if succeeds, false otherwise
(offset-item item offset)
Offset this thing and return a new item
Offset this thing and return a new item
Take a'thing' and convert it to an array that exactly represents the value of the data.
Take a'thing' and convert it to an array that exactly represents the value of the data.
(->array item)
Convert to an array; both objects must share backing store
Convert to an array; both objects must share backing store
(->array-copy item)
Convert to an array containing a copy of the data
Convert to an array containing a copy of the data
Take a 'thing' and convert it to a nio buffer. Only valid if the thing shares the backing store with the buffer. Result may not exactly represent the value of the item itself as the backing store may require element-by-element conversion to represent the value of the item.
Take a 'thing' and convert it to a nio buffer. Only valid if the thing shares the backing store with the buffer. Result may not exactly represent the value of the item itself as the backing store may require element-by-element conversion to represent the value of the item.
(->buffer-backing-store item)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close