getReallocMessagePackerInstructionPlan
Creates a MessagePackerInstructionPlan that packs a list of realloc instructions.
That is, it splits the total size into chunks of at most REALLOC_LIMIT (10'240) bytes
and creates one instruction per chunk until the given total size is reached.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | { getInstruction: (size) => Instruction; totalSize: number; } |
__namedParameters.getInstruction | (size) => Instruction |
__namedParameters.totalSize | number |