writeToSlot abstract method

P writeToSlot(
  1. int slot,
  2. String text, [
  3. int? bufferSize
])

Writes text into slot slot, reallocating if the current capacity is insufficient for the UTF-8 encoded length.

Always null-terminates the written string.

Implementation

P writeToSlot(int slot, String text, [int? bufferSize]);