Companion

object Companion

Functions

auto
Link copied to clipboard
common
inline fun <T : Any> auto(size: Int, initializer: (Int) -> T): Buffer<T>
Creates a Buffer of given type T.
inline fun <T : Any> auto(type: KClass<T>, size: Int, initializer: (Int) -> T): Buffer<T>
Creates a Buffer of given type.
boxing
Link copied to clipboard
common
inline fun <T> boxing(size: Int, initializer: (Int) -> T): Buffer<T>
Creates a ListBuffer of given type T with given size.
contentEquals
Link copied to clipboard
common
fun <T : Any> contentEquals(first: Buffer<T>, second: Buffer<T>): Boolean
Check the element-by-element match of content of two buffers.
toString
Link copied to clipboard
common
fun toString(buffer: Buffer<*>): String

Extensions

bigInt
Link copied to clipboard
common
inline fun Buffer.Companion.bigInt(size: Int, initializer: (Int) -> BigInt): Buffer<BigInt>

Sources

common source
Link copied to clipboard