Class FixedStringMethods
Provides extension methods for FixedStringNBytes.
Namespace: Unity.Collections
Assembly: solution.dll
Syntax
public static class FixedStringMethods
Methods
Name | Description |
---|---|
Append |
Interpolates strings into a format string and appends the result to this string. |
Append |
Interpolates strings into a format string and appends the result to this string. |
Append |
Interpolates strings into a format string and appends the result to this string. |
Append |
Interpolates strings into a format string and appends the result to this string. |
Append |
Interpolates strings into a format string and appends the result to this string. |
Append |
Interpolates strings into a format string and appends the result to this string. |
Append |
Interpolates strings into a format string and appends the result to this string. |
Append |
Interpolates strings into a format string and appends the result to this string. |
Append |
Interpolates strings into a format string and appends the result to this string. |
Append |
Interpolates strings into a format string and appends the result to this string. |
Append |
Appends a byte to this string. |
Append<T>(ref T, byte*, int) | Appends bytes to this string. |
Append<T>(ref T, char) | Appends a char to this string. |
Append<T>(ref T, int) | Appends a number (converted to UTF-8 characters) to this string. |
Append<T>(ref T, long) | Appends a number (converted to UTF-8 characters) to this string. |
Append<T>(ref T, float, char) | Appends a number (converted to UTF-8 characters) to this string. |
Append<T>(ref T, string) | Appends another string to this string. |
Append<T>(ref T, uint) | Appends a number (converted to UTF-8 characters) to this string. |
Append<T>(ref T, ulong) | Appends a number (converted to UTF-8 characters) to this string. |
Append<T>(ref T, Rune) | Appends a Unicode.Rune to this string. |
Append<T>(ref T, Rune, int) | Appends a Unicode.Rune a number of times to this string. |
Append<T, T2>(ref T, in T2) | Appends another string to this string. |
Compare |
Returns the sort position of this string relative to a byte sequence. |
Compare |
Returns the sort position of this string relative to another. |
Compute |
Returns a hash code of this string. |
Contains<T, T2>(ref T, in T2) | Returns true if a given substring occurs within this string. |
Convert |
Returns a copy of this string as a managed string. |
Copy |
Copies another string to this string. If the string exceeds the capacity it will be truncated. Replaces any existing content of the FixedString. |
Copy |
Copies another string to this string. If the string exceeds the capacity it will be truncated. |
Copy |
Copies another string to this string (making the two strings equal). Replaces any existing content of the FixedString. |
Copy |
Copies another string to this string (making the two strings equal). |
Effective |
Returns the effective size in bytes of this string. |
Ends |
Returns true if a given character occurs at the end of this string. |
Ends |
Returns true if a given substring occurs at the end of this string. |
Equals<T>(ref T, byte*, int) | Returns true if this string and a byte sequence are equal (meaning they have the same length and content). |
Equals<T, T2>(ref T, in T2) | Returns true if this string is equal to another. |
Index |
Returns the index of the first occurrence of a byte sequence in this string. |
Index |
Returns the index of the first occurrence of a byte sequence within a subrange of this string. |
Index |
Returns the index of the first occurrence of a single Unicode rune in this string. |
Index |
Returns the index of the first occurrence of a substring within this string. |
Index |
Returns the index of the first occurrence of a substring within a subrange of this string. |
Last |
Returns the index of the last occurrence of a byte sequence within this string. |
Last |
Returns the index of the last occurrence of a byte sequence within a subrange of this string. |
Last |
Returns the index of the last occurrence of a single Unicode rune within this string. |
Last |
Returns the index of the last occurrence of a substring within this string. |
Last |
Returns the index of the last occurrence of a substring within a subrange of this string. |
Parse<T>(ref T, ref int, ref int) | Parses an int from this string starting at a byte offset. |
Parse<T>(ref T, ref int, ref float, char) | Parses a float from this string starting at a byte offset. |
Parse<T>(ref T, ref int, ref uint) | Parses an uint from this string starting at a byte offset. |
Peek<T>(ref T, int) | Returns the Unicode.Rune at an index of this string. |
Read<T>(ref T, ref int) | Returns the Unicode.Rune at an index of this string. Increments the index to the position of the next character. |
Starts |
Returns true if a given character occurs at the beginning of this string. |
Starts |
Returns true if a given substring occurs at the beginning of this string. |
Substring(ref Native |
Retrieves a substring of this string. The substring starts from a specific character index and continues to the end of the string. The new substring has the same allocator as the string. |
Substring(ref Native |
Retrieves a substring of this string. The substring starts from a specific character index, and has a specified length. The new substring has the same allocator as the string. |
Substring(ref Native |
Retrieves a substring from this string. The substring starts from a specific character index, and has a specified length. Allocates memory to the new substring with the allocator specified. |
Substring(ref Native |
Retrieves a substring of this string. The substring starts from a specific character index and continues to the end of the string. Allocates memory to the new substring with the allocator specified. |
Substring<T>(ref T, int) | Retrieves a substring of this string. The substring starts from a specific character index and continues to the end of the string. |
Substring<T>(ref T, int, int) | Retrieves a substring of this string. The substring starts from a specific character index, and has a specified length. |
To |
Converts string to lowercase only ASCII characters. |
To |
Converts string to lowercase only ASCII characters. |
To |
Converts string to lowercase only ASCII characters. |
To |
Converts string to uppercase only ASCII characters. |
To |
Converts string to uppercase only ASCII characters. |
To |
Converts string to uppercase only ASCII characters. |
Trim(ref Unsafe |
Removes whitespace characters from the begining and the end of the string. |
Trim(ref Unsafe |
Removes specific characters from the begining and the end of the string. |
Trim(ref Native |
Removes whitespace characters from the begining and the end of the string. |
Trim(ref Native |
Removes specific characters from the begining and the end of the string. |
Trim |
Removes whitespace characters from the end of the string. |
Trim |
Removes specific characters from the end of the string. |
Trim |
Removes whitespace characters from the end of the string. |
Trim |
Removes specific characters from the end of the string. |
Trim |
Removes whitespace characters from the end of the string. |
Trim |
Removes specific characters from the end of the string. |
Trim |
Removes whitespace characters from begining of the string. |
Trim |
Removes specific characters characters from begining of the string. |
Trim |
Removes whitespace characters from begining of the string. |
Trim |
Removes specific characters from begining of the string. |
Trim |
Removes whitespace characters from begining of the string. |
Trim |
Removes specific characters from begining of the string. |
Trim<T>(ref T) | Removes whitespace characters from the begining and the end of the string. |
Trim<T>(ref T, Read |
Removes specific characters from the begining and the end of the string. |
Write<T>(ref T, ref int, Rune) | Writes a Unicode.Rune at an index of this string. Increments the index to the position of the next character. |