Buffer.prependMemory

Prepend the memory block mem to buffer. This function takes ownership of mem and thus doesn't increase its refcount.

This function is identical to Buffer.insertMemory with an index of 0. See Buffer.insertMemory for more details.

class Buffer
void
prependMemory

Parameters

mem Memory