class · System
StringBuilder
public class System.StringBuilder : System.Any
- Kind
- class
- Namespace
- System
- Assembly
- System.Core
- Access
- public, final
- Source file
StringBuilder.ant
Inheritance
- Base classes
-
AnyStringBuilder
Constructors
Properties
Methods
method Append(text: System.String<u8>) -> System.StringBuilder
#
Adds the text.
method Append(text: System.String<u8>, start: i32, count: i32) -> System.StringBuilder
#
Adds count bytes of the text from start.
method Append(unit: u16) -> System.StringBuilder
#
Adds one character (a UTF-16 code unit, as character literals are), in UTF-8.
method AppendCodePoint(point: u32) -> System.StringBuilder
#
Adds one code point in UTF-8.
method Append(value: i64) -> System.StringBuilder
#
Adds the number as text (written straight into the buffer).
method AppendLine(text: System.String<u8>) -> System.StringBuilder
#
Adds the text and a line break.
method Clear() -> void
#
The buffer itself (its first Length bytes are the text; shared, not copied).
method ToString() -> System.String<u8>
#
Private and internal members (4)
Inherited members (4)
GetTypemethod from AnyUndescribedmethod from AnyHashmethod from Anydestroymethod from Any
Source
StringBuilder as Larva HIR, decompiled from its Larva HIR.
public class System.StringBuilder : System.Any
{
field buffer: u8[]
field length: i32
method Reserve(more: i32) -> void
method Grow(more: i32) -> void
constructor StringBuilder()
constructor StringBuilder(capacity: i32)
// Adds the text.
method Append(text: System.String<u8>) -> System.StringBuilder
// Adds `count` bytes of the text from `start`.
method Append(text: System.String<u8>, start: i32, count: i32) -> System.StringBuilder
// Adds one character (a UTF-16 code unit, as character literals are), in UTF-8.
method Append(unit: u16) -> System.StringBuilder
// Adds one code point in UTF-8.
method AppendCodePoint(point: u32) -> System.StringBuilder
// Adds the number as text (written straight into the buffer).
method Append(value: i64) -> System.StringBuilder
// Adds the text and a line break.
method AppendLine(text: System.String<u8>) -> System.StringBuilder
method Clear() -> void
// The buffer itself (its first Length bytes are the text; shared, not copied).
method Bytes() -> u8[]
method ToString() -> System.String<u8>
// How many bytes it holds.
property Length: i32
}