concat

abstract fun concat(list: PolyglotValue, totalLength: Int? = null): BufferInstance

Allocate a new buffer and fill it by concatenating the data from a list of values (either Buffer or Uint8Array instances), up to totalLength if specified.