Метод | Описание | |
---|---|---|
Clear ( ) : void | ||
Compare ( |
Compares the string against str.
|
|
Compare ( |
Compares count characters of the string against str.
|
|
Compare ( |
Compares the string against str.
|
|
Compare ( |
Compares count characters of the string against str.
|
|
Compare ( byte str, int count ) : int |
Compares count characters of the string against str.
|
|
Compare ( string str ) : int |
Compares the string against str.
|
|
Compare ( string str, int count ) : int |
Compares count characters of the string against str.
|
|
Concat ( byte character ) : bool |
Concatenates character
|
|
Concat ( |
Concatenates str.
|
|
Concat ( |
Concatenates from str the characters at indices offset to offset + len.
|
|
Concat ( |
Concatenates str.
|
|
Concat ( |
Concatenates from str the characters at indices offset to offset + len.
|
|
Concat ( byte str ) : int | ||
Concat ( byte str, int len ) : int | ||
Concat ( int number ) : int | ||
Concat ( int number, bool hex ) : int | ||
Concat ( string str ) : int |
Concatenates str.
|
|
Concat ( string str, int offset, int len ) : int |
Concatenates from str the characters at indices offset to offset + len.
|
|
ConcatLine ( ) : void |
|
|
GetChar ( int index ) : byte | ||
GetChar ( int index, bool boundsCheck ) : byte |
If boundsCheck is true, makes sure index is in bounds, then gets the character index from the string.
|
|
SetChar ( int index, byte value ) : void | ||
SetChar ( int index, byte value, bool boundsCheck ) : void | ||
Wrap ( void buffer, int bufferSize ) : PString8* |
Wraps a data buffer into a PString8 pointer and initializes the Capacity field to bufferSize minus the size of the PString8 structure. bufferSize should be the entire size of the allocation.
|
|
__Test1 ( ) : void |
Метод | Описание | |
---|---|---|
Concat ( byte str, int strLen, int offset, int len ) : int |
Internal common implementation of Concat(). The strLen parameter is the length of the string in buffer str, determined using the fastest possible method for the string type. This causes slightly faster performance for string types that store the length of the string (as opposed to null termination).
|
|
__RunTests ( ) : void |
public Compare ( |
||
str | ||
count | int | |
Результат | int |
public Compare ( |
||
str | ||
count | int | |
Результат | int |
public Compare ( byte str, int count ) : int | ||
str | byte | |
count | int | |
Результат | int |
public Compare ( string str, int count ) : int | ||
str | string | |
count | int | |
Результат | int |
public Concat ( |
||
str | ||
offset | int | |
len | int | |
Результат | int |
public Concat ( |
||
str | ||
offset | int | |
len | int | |
Результат | int |
public Concat ( int number, bool hex ) : int | ||
number | int | |
hex | bool | |
Результат | int |
public Concat ( string str, int offset, int len ) : int | ||
str | string | |
offset | int | |
len | int | |
Результат | int |
public GetChar ( int index, bool boundsCheck ) : byte | ||
index | int | |
boundsCheck | bool | |
Результат | byte |
public SetChar ( int index, byte value ) : void | ||
index | int | |
value | byte | |
Результат | void |
public SetChar ( int index, byte value, bool boundsCheck ) : void | ||
index | int | |
value | byte | |
boundsCheck | bool | |
Результат | void |
public static Wrap ( void buffer, int bufferSize ) : PString8* | ||
buffer | void | |
bufferSize | int | |
Результат | PString8* |