Companion
object Companion
Functions
Link copied to clipboard
Allocates a new FloatBuffer with the given capacity (in floats). Internally, it creates a Buffer large enough to hold (capacity * 4) bytes.
Link copied to clipboard
Wraps an existing FloatArray into a FloatBuffer. The resulting buffer’s capacity and limit are set to array.size.