C# Class LeopotamGroup.Collections.FastString

Afficher le fichier Open project: Leopotam/LeopotamGroupLibraryUnity Class Usage Examples

Méthodes publiques

Méthode Description
Append ( FastString rhs ) : FastString

Append specified FastString to end of current string.

Append ( char rhs ) : FastString

Append specified character to end of current string.

Append ( string rhs ) : FastString

Append specified string to end of current string.

Clear ( ) : void

Clear string data.

FastString ( ) : System

Default constructor with empty string data.

FastString ( string rhs ) : System

Constructor with specified default string data.

ToString ( ) : string

Return final string, no GC allocation.

Trim ( int amount ) : FastString

Trim current string with specified amount of characters from end.

UpdateLength ( ) : void
this ( int idx ) : char

Get / set character at specified position.

Method Details

Append() public méthode

Append specified FastString to end of current string.
public Append ( FastString rhs ) : FastString
rhs FastString String to append.
Résultat FastString

Append() public méthode

Append specified character to end of current string.
public Append ( char rhs ) : FastString
rhs char Character to append.
Résultat FastString

Append() public méthode

Append specified string to end of current string.
public Append ( string rhs ) : FastString
rhs string String to append.
Résultat FastString

Clear() public méthode

Clear string data.
public Clear ( ) : void
Résultat void

FastString() public méthode

Default constructor with empty string data.
public FastString ( ) : System
Résultat System

FastString() public méthode

Constructor with specified default string data.
public FastString ( string rhs ) : System
rhs string Init string data.
Résultat System

ToString() public méthode

Return final string, no GC allocation.
public ToString ( ) : string
Résultat string

Trim() public méthode

Trim current string with specified amount of characters from end.
public Trim ( int amount ) : FastString
amount int Amount.
Résultat FastString

UpdateLength() public méthode

public UpdateLength ( ) : void
Résultat void

this() public méthode

Get / set character at specified position.
public this ( int idx ) : char
idx int Index.
Résultat char