Buffer.replaceMemory

Replaces the memory block at index idx in buffer with mem.

class Buffer
void
replaceMemory
(
uint idx
,)

Parameters

idx uint

an index

mem Memory