Class TruffleStringBuilder

java.lang.Object
com.oracle.truffle.api.strings.TruffleStringBuilder
Direct Known Subclasses:
TruffleStringBuilderUTF16, TruffleStringBuilderUTF32, TruffleStringBuilderUTF8

public abstract sealed class TruffleStringBuilder extends Object permits TruffleStringBuilderUTF8, TruffleStringBuilderUTF16, TruffleStringBuilderUTF32 (not exhaustive)
The TruffleString equivalent to StringBuilder. This builder eagerly fills up a byte array with all strings passed to its Append-nodes. For lazy string concatenation, use TruffleString.ConcatNode instead.
Since:
22.1