secureClear method

void secureClear()

Removes all characters from the current StringBuilder instance, and write zero bytes to the allocated memory before deallocating.

Implementation

void secureClear() {
  final h = _handle;
  _CkStringBuilder_SecureClear(h);
}