/** * Build a chunk from a sequence of values * * NOTE: different from Chunk#from this copies the elements 1 by 1 * allowing for binary to be correctly stored in typed arrays * * @tsplus static Chunk.Ops __call * @tsplus static Chunk.Ops make */ export function make(...iter: Elem): Chunk { let builder = Chunk.empty() for (const x of iter) { builder = builder.append(x) } return builder }