BufferList.getWritable

Gets the buffer at @idx, ensuring it is a writable buffer.

You must make sure that @idx does not exceed the number of buffers available.

class BufferList
getWritable
(
uint idx
)

Parameters

idx uint

the index

Return Value

Type: Buffer

the buffer at @idx in @group. The returned buffer remains valid as long as @list is valid and the buffer is not removed from the list.

Meta

Since

1.14