insert


Description:

public void insert (int idx, owned Buffer buffer)

Inserts buffer at idx in this.

Other buffers are moved to make room for this new buffer.

A -1 value for idx will append the buffer at the end.

Parameters:

this

a BufferList

idx

the index

buffer

a Buffer