alloc
abstract fun alloc(size: Int, fill: PolyglotValue? = null, encoding: String? = null): BufferInstance
Allocate a new buffer of the given size, optionally using the data from fill and, if the value is a string, converting it to bytes using a specific encoding. The buffer's bytes are initialized to zero.