short

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

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