Append(char)
Appends one char to the current UnsafeStringBuilder.
Declaration
public bool Append(char c)Parameters
| Type | Name | Description |
|---|---|---|
| char | c | A |
Returns
| Type | Description |
|---|---|
| bool |
|
Append(char, char)
Appends two char to the current UnsafeStringBuilder.
Declaration
public bool Append(char c1, char c2)Parameters
| Type | Name | Description |
|---|---|---|
| char | c1 | The first |
| char | c2 | The second |
Returns
| Type | Description |
|---|---|
| bool |
|
Append(char, char, char)
Appends three char to the current UnsafeStringBuilder.
Declaration
public bool Append(char c1, char c2, char c3)Parameters
| Type | Name | Description |
|---|---|---|
| char | c1 | The first |
| char | c2 | The second |
| char | c3 | The third |
Returns
| Type | Description |
|---|---|
| bool |
|
Append(char, char, char, char)
Appends four char to the current UnsafeStringBuilder.
Declaration
public bool Append(char c1, char c2, char c3, char c4)Parameters
| Type | Name | Description |
|---|---|---|
| char | c1 | The first |
| char | c2 | The second |
| char | c3 | The third |
| char | c4 | The fourth |
Returns
| Type | Description |
|---|---|
| bool |
|
Append(char, char, char, char, char)
Appends five char to the current UnsafeStringBuilder.
Declaration
public bool Append(char c1, char c2, char c3, char c4, char c5)Parameters
| Type | Name | Description |
|---|---|---|
| char | c1 | The first |
| char | c2 | The second |
| char | c3 | The third |
| char | c4 | The fourth |
| char | c5 | The fifth |
Returns
| Type | Description |
|---|---|
| bool |
|
Append(char[]?, int, int)
Appends an array segment of char to the current UnsafeStringBuilder.
Declaration
public bool Append(char[]? c, int offset, int count)Parameters
| Type | Name | Description |
|---|---|---|
| char[] | c | A non-null array of |
| int | offset | Index of the first |
| int | count | Number of |
Returns
| Type | Description |
|---|---|
| bool |
|
Append(char*, int)
Appends an unmanaged array of char to the current UnsafeStringBuilder.
Declaration
public bool Append(char* c, int count)Parameters
| Type | Name | Description |
|---|---|---|
| char* | c | A non-null pointer to an unmanaged array of |
| int | count | Number of |
Returns
| Type | Description |
|---|---|
| bool |
|
Append(char, int)
Appends several times the same char to the current UnsafeStringBuilder.
Declaration
public bool Append(char c, int count)Parameters
| Type | Name | Description |
|---|---|---|
| char | c | A |
| int | count | The number of times |
Returns
| Type | Description |
|---|---|
| bool |
|
Append(char[]?)
Appends an array of char to the current UnsafeStringBuilder.
Declaration
public bool Append(char[]? c)Parameters
| Type | Name | Description |
|---|---|---|
| char[] | c | An array of |
Returns
| Type | Description |
|---|---|
| bool |
|
Append(ReadOnlySpan<char>)
Declaration
public bool Append(ReadOnlySpan<char> c)Parameters
| Type | Name | Description |
|---|---|---|
| ReadOnlySpan<char> | c |
Returns
| Type | Description |
|---|---|
| bool |
Append(string?)
Appends a string to the current UnsafeStringBuilder.
Declaration
public bool Append(string? str)Parameters
| Type | Name | Description |
|---|---|---|
| string | str | A string. |
Returns
| Type | Description |
|---|---|
| bool |
|
Append(string?, int, int)
Appends a part of a string to the current UnsafeStringBuilder.
Declaration
public bool Append(string? str, int startIndex, int length)Parameters
| Type | Name | Description |
|---|---|---|
| string | str | A string. |
| int | startIndex | The index of the first character of the string to append. |
| int | length | The number of characters to append. |
Returns
| Type | Description |
|---|---|
| bool |
|
Append(UnsafeStringBuilder?)
Appends the current value of a UnsafeStringBuilder to the current UnsafeStringBuilder.
Declaration
public bool Append(UnsafeStringBuilder? stringBuilder)Parameters
| Type | Name | Description |
|---|---|---|
| UnsafeStringBuilder | stringBuilder |
Returns
| Type | Description |
|---|---|
| bool |
|
Append(byte)
Appends a byte (with decimal formatting) to the current UnsafeStringBuilder.
Declaration
public bool Append(byte value)Parameters
| Type | Name | Description |
|---|---|---|
| byte | value | The value to be appended. |
Returns
| Type | Description |
|---|---|
| bool |
|
Append(sbyte)
Appends an sbyte (with decimal formatting) to the current UnsafeStringBuilder.
Declaration
public bool Append(sbyte value)Parameters
| Type | Name | Description |
|---|---|---|
| sbyte | value | The value to be appended. |
Returns
| Type | Description |
|---|---|
| bool |
|
Append(ushort)
Appends a ushort (with decimal formatting) to the current UnsafeStringBuilder.
Declaration
public bool Append(ushort value)Parameters
| Type | Name | Description |
|---|---|---|
| ushort | value | The value to be appended. |
Returns
| Type | Description |
|---|---|
| bool |
|
Append(short)
Appends a short (with decimal formatting) to the current UnsafeStringBuilder.
Declaration
public bool Append(short value)Parameters
| Type | Name | Description |
|---|---|---|
| short | value | The value to be appended. |
Returns
| Type | Description |
|---|---|
| bool |
|
Append(uint)
Appends a uint (with decimal formatting) to the current UnsafeStringBuilder.
Declaration
public bool Append(uint value)Parameters
| Type | Name | Description |
|---|---|---|
| uint | value | The value to be appended. |
Returns
| Type | Description |
|---|---|
| bool |
|
Append(int)
Appends a int (with decimal formatting) to the current UnsafeStringBuilder.
Declaration
public bool Append(int value)Parameters
| Type | Name | Description |
|---|---|---|
| int | value | The value to be appended. |
Returns
| Type | Description |
|---|---|
| bool |
|
Append(ulong)
Appends a ulong (with decimal formatting) to the current UnsafeStringBuilder.
Declaration
public bool Append(ulong value)Parameters
| Type | Name | Description |
|---|---|---|
| ulong | value | The value to be appended. |
Returns
| Type | Description |
|---|---|
| bool |
|
Append(long)
Appends a long (with decimal formatting) to the current UnsafeStringBuilder.
Declaration
public bool Append(long value)Parameters
| Type | Name | Description |
|---|---|---|
| long | value | The value to be appended. |
Returns
| Type | Description |
|---|---|
| bool |
|
Append(bool)
Appends a bool (true or false, literally) to the current UnsafeStringBuilder.
Declaration
public bool Append(bool value)Parameters
| Type | Name | Description |
|---|---|---|
| bool | value | The value to be appended. |
Returns
| Type | Description |
|---|---|
| bool |
|
Append<T>(T, ReadOnlySpan<char>, IFormatProvider?)
Declaration
public void Append<T>(T formattable, ReadOnlySpan<char> format = default, IFormatProvider? formatProvider = null) where T : ISpanFormattableParameters
| Type | Name | Description |
|---|---|---|
| T | formattable | |
| ReadOnlySpan<char> | format | |
| IFormatProvider | formatProvider |
Type Parameters
| Name | Description |
|---|---|
| T |