int

inline fun int(size: Int, initializer: (Int) -> Int): IntBuffer

Creates a IntBuffer with the specified size, where each element is calculated by calling the specified initializer function.

Sources

Link copied to clipboard