StringBuilder

constructor(capacity: Int = 16)(source)

Creates an empty builder with the requested initial capacity.

Parameters

capacity

initial buffer size in UTF-16 code units; defaults to 16.