BufferFactory

fun interface BufferFactory<T>(source)

Function that produces Buffer from its size and function that supplies values.

Parameters

T

the type of buffer.

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract operator fun invoke(size: Int, builder: (Int) -> T): Buffer<T>