![]() Empty | An empty byte string. |
![]() Compare | Overloaded. Compares two byte strings |
![]() Copy | Returns its argument. |
![]() Equals | Overloaded. Indicates if two specified instances have the same value. |
![]() Join | Overloaded.
Concatenates ByteString instances.
|
ByteString | Overloaded. Initializes a new instance of the ByteString class. |
Bytes | Gets the byte at the specified position. |
Data | Internal buffer. |
Length | Gets the number of bytes in the byte string. |
Offset | Offset in the internal buffer of the instance's content. |
Clone | Returns a new reference to the instance. |
CompareTo | Overloaded. Compares this instance to another object. |
CopyTo | Copies bytes from this instance to an array of bytes. |
EndsWith | Indicates if this instance ends with the specified substring. |
Equals | Overloaded. Indicates if this instance has the same value as another object. |
GetHashCode | Returns the hash code for this instance. |
GetType (inherited from Object) | Gets the Type of the current instance. |
IndexOf | Overloaded.
Reports the index of the first occurrence of the specified
ByteString in this instance.
|
IndexOfAny | Overloaded. Reports the index of the first occurrence of any byte in a specified set of bytes. |
Insert |
Inserts a ByteString instance into this instance.
|
LastIndexOf | Overloaded.
Reports the index of the last occurrence of the specified
ByteString in this instance.
|
LastIndexOfAny | Overloaded. Reports the index of the last occurrence of any byte in a specified set of bytes. |
PadLeft | Overloaded. Right-aligns the bytes in this instance, padding with spaces on the left for a specified total length. |
PadRight | Overloaded. Left-aligns the bytes in this string, padding with spaces on the right, for a specified total length. |
Remove | Removes a specified number of bytes from this instance. |
Replace | Overloaded. Replaces all occurrences of a specified byte in this instance with another specified byte. |
StartsWith | Indicates if this instance starts with the specified substring. |
Substring | Overloaded. Gets a substring from this instance. |
ToByteArray | Overloaded. Copies the bytes in this instance to a byte array |
ToLower | Returns a copy of this instance with ASCII characters converted to lowercase |
ToString |
Converts the value of this instance to a String |
ToUpper | Returns a copy of this instance with ASCII characters converted to uppercase |
Trim | Removes all occurrences of white space characters from the beginning and end. |
TrimEnd | Removes all white space characters from the end. |
TrimStart | Removes all white space characters from the beginning. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
ByteString Class | Hunny.Base Namespace