Small util library featuring:
- functional programming for
IntBuffer
s - short buffer and
CustomBuffer
plain parameters (adr
,pos
,cap
,rem
,remSize
,lim
) - buffers set operators
- convenient conversions buffers <-> arrays
- dummy buffer constructors:
(size: Int)
and(size: Int, init: (Int) -> *)
- convenient
MemoryStack
extensions (like lambdas retrieving primitives via native memory) - inline classes of primitive pointers
Stack
getters and setters- other minor utils
repositories {
maven("https://raw.githubusercontent.com/kotlin-graphics/mary/master")
// or with magik plugin
//github("kotlin-graphics/mary")
}
dependencies {
implementation("kotlin.graphics:kool:0.9.79")
}
dependencies {
implementation("io.github.kotlin-graphics:kool:0.9.79")
}
You can find more info by mary