Method Append
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 |
---|---|
Boolean |
|
Append(Char, Char)
Appends two char
to the current UnsafeStringBuilder.
Declaration
public bool Append(char c1, char c2)
Parameters
Type | Name | Description |
---|---|---|
Char | c1 | A |
Char | c2 | A |
Returns
Type | Description |
---|---|
Boolean |
|
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 | A |
Char | c2 | A |
Char | c3 | A |
Returns
Type | Description |
---|---|
Boolean |
|
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 | A |
Char | c2 | A |
Char | c3 | A |
Char | c4 | A |
Returns
Type | Description |
---|---|
Boolean |
|
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 | A |
Char | c2 | A |
Char | c3 | A |
Char | c4 | A |
Char | c5 | A |
Returns
Type | Description |
---|---|
Boolean |
|
Append(Char[], Int32, Int32)
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 |
Int32 | offset | Index of the first |
Int32 | count | Number of |
Returns
Type | Description |
---|---|
Boolean |
|
Append(Char*, Int32)
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 |
Int32 | count | Number of |
Returns
Type | Description |
---|---|
Boolean |
|
Append(Char, Int32)
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 |
Int32 | count | The number of times |
Returns
Type | Description |
---|---|
Boolean |
|
Append(Char[])
Appends an array of char
to the current UnsafeStringBuilder.
Declaration
public bool Append(char[] c)
Parameters
Type | Name | Description |
---|---|---|
Char[] | c | A non-null array of |
Returns
Type | Description |
---|---|
Boolean |
|
Append(String)
Appends a String to the current UnsafeStringBuilder.
Declaration
public bool Append(string str)
Parameters
Type | Name | Description |
---|---|---|
String | str | A non-null String. |
Returns
Type | Description |
---|---|
Boolean |
|
Append(String, Int32, Int32)
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 non-null String |
Int32 | startIndex | The index of the first character of the string to append. |
Int32 | length | The number of characters to append. |
Returns
Type | Description |
---|---|
Boolean |
|
Append(in CharSpan)
Appends a CharSpan to the current UnsafeStringBuilder.
Declaration
public bool Append(in CharSpan span)
Parameters
Type | Name | Description |
---|---|---|
CharSpan | span | A CharSpan. |
Returns
Type | Description |
---|---|
Boolean |
|
Append(UnsafeString)
Appends an UnsafeString to the current UnsafeStringBuilder.
Declaration
public bool Append(UnsafeString s)
Parameters
Type | Name | Description |
---|---|---|
UnsafeString | s | A non-null UnsafeString. |
Returns
Type | Description |
---|---|
Boolean |
|
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 |
---|---|
Boolean |
|
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 |
---|---|
Boolean |
|
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 |
---|---|
Boolean |
|
Append(UInt16)
Appends a UInt16 (with decimal formatting) to the current UnsafeStringBuilder.
Declaration
public bool Append(ushort value)
Parameters
Type | Name | Description |
---|---|---|
UInt16 | value | The value to be appended. |
Returns
Type | Description |
---|---|
Boolean |
|
Append(Int16)
Appends a Int16 (with decimal formatting) to the current UnsafeStringBuilder.
Declaration
public bool Append(short value)
Parameters
Type | Name | Description |
---|---|---|
Int16 | value | The value to be appended. |
Returns
Type | Description |
---|---|
Boolean |
|
Append(UInt32)
Appends a UInt32 (with decimal formatting) to the current UnsafeStringBuilder.
Declaration
public bool Append(uint value)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | value | The value to be appended. |
Returns
Type | Description |
---|---|
Boolean |
|
Append(Int32)
Appends a Int32 (with decimal formatting) to the current UnsafeStringBuilder.
Declaration
public bool Append(int value)
Parameters
Type | Name | Description |
---|---|---|
Int32 | value | The value to be appended. |
Returns
Type | Description |
---|---|
Boolean |
|
Append(UInt64)
Appends a UInt64 (with decimal formatting) to the current UnsafeStringBuilder.
Declaration
public bool Append(ulong value)
Parameters
Type | Name | Description |
---|---|---|
UInt64 | value | The value to be appended. |
Returns
Type | Description |
---|---|
Boolean |
|
Append(Int64)
Appends a Int64 (with decimal formatting) to the current UnsafeStringBuilder.
Declaration
public bool Append(long value)
Parameters
Type | Name | Description |
---|---|---|
Int64 | value | The value to be appended. |
Returns
Type | Description |
---|---|
Boolean |
|
Append(Boolean)
Appends a Boolean (true
or false
, litterally) to the current UnsafeStringBuilder.
Declaration
public bool Append(bool value)
Parameters
Type | Name | Description |
---|---|---|
Boolean | value | The value to be appended. |
Returns
Type | Description |
---|---|
Boolean |
|