short

inline fun short(size: Int, initializer: (Int) -> Short): ShortBuffer

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

Sources

Link copied to clipboard