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

common source
Link copied to clipboard