Open sandboxFocus

Method Append

Append(char)

Appends one char to the current UnsafeStringBuilder.

Declaration
public bool Append(char c)
Parameters
Type Name Description
char c

A char.

Returns
Type Description
bool

true in case of success, false in case of buffer overflow.

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.

char c2

A char.

Returns
Type Description
bool

true in case of success, false in case of buffer overflow.

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.

char c2

A char.

char c3

A char.

Returns
Type Description
bool

true in case of success, false in case of buffer overflow.

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.

char c2

A char.

char c3

A char.

char c4

A char.

Returns
Type Description
bool

true in case of success, false in case of buffer overflow.

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.

char c2

A char.

char c3

A char.

char c4

A char.

char c5

A char.

Returns
Type Description
bool

true in case of success, false in case of buffer overflow.

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 char.

int offset

Index of the first char to be appended.

int count

Number of char to be appended.

Returns
Type Description
bool

true in case of success, false in case of buffer overflow.

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 char.

int count

Number of char to be appended.

Returns
Type Description
bool

true in case of success, false in case of buffer overflow.

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 char.

int count

The number of times c has to be appended.

Returns
Type Description
bool

true in case of success, false in case of buffer overflow.

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 char.

Returns
Type Description
bool

true in case of success, false in case of buffer overflow.

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
bool

true in case of success, false in case of buffer overflow.

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 non-null 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

true in case of success, false in case of buffer overflow.

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
bool

true in case of success, false in case of buffer overflow.

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
bool

true in case of success, false in case of buffer overflow.

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

A UnsafeStringBuilder.

Returns
Type Description
bool

true in case of success, false in case of buffer overflow.

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

true in case of success, false in case of buffer overflow.

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

true in case of success, false in case of buffer overflow.

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

true in case of success, false in case of buffer overflow.

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

true in case of success, false in case of buffer overflow.

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

true in case of success, false in case of buffer overflow.

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

true in case of success, false in case of buffer overflow.

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

true in case of success, false in case of buffer overflow.

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

true in case of success, false in case of buffer overflow.

Append(bool)

Appends a bool (true or false, litterally) 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

true in case of success, false in case of buffer overflow.