1. Generalized support for datatypes not present as jvm primitive types but which can be store on a 1-to-1 correspondance with a jvm primitive type (so things that need 1,2,4, or 8 bytes to store per element). 2. Unsigned integer support for nio buffers.
(add-datatype->jvm-datatype-conversion src-dtype dst-dtype)
(add-safe-jvm-datatype src-datatype safe-jvm-datatype)
Add a datatype that can safely container the src datatype. So int16 for an uint8 value, for instance. This will only be queried in the case that the datatype is not a native jvm datatype.
Add a datatype that can safely container the src datatype. So int16 for an uint8 value, for instance. This will only be queried in the case that the datatype is not a native jvm datatype.
(datatype->unchecked-jvm-cast-fn src-dtype dst-dtype val)
(make-typed-buffer datatype elem-count-or-seq)
(make-typed-buffer datatype elem-count-or-seq options)
(unsigned-safe-elem-count-or-seq datatype elem-count-or-seq options)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close