The IrcString type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
IrcString( Byte ) |
Creates an IRC string from a byte array.
| |
IrcString(String) |
Creates an IRC string by converting a .NET string using UTF-8 encoding.
| |
IrcString(String, Encoding) |
Creates an IRC string by converting a .NET string using the specified encoding.
| |
IrcString( Byte , Int32, Int32) |
Creates an IRC string from part of a byte array.
|
Methods
Name | Description | |
---|---|---|
Contains |
Checks if the string contains a particular byte.
| |
CopyTo |
Copies the string into a byte array.
| |
Equals(Object) | (Overrides Object Equals(Object).) | |
Equals(IrcString) |
Compares the current string with another string.
| |
GetEnumerator | Returns an enumerator that iterates through the collection. | |
GetHashCode | Serves as a hash function for a particular type. (Overrides Object GetHashCode .) | |
IndexOf(Byte) |
Scans the string for the first instance of a particular byte.
| |
IndexOf(Byte, Int32) |
Scans part of the string for the first instance of a particular byte.
| |
IndexOf(Func Byte, Boolean , Int32, Int32) |
Scans part of the string for the first byte that matches the specified condition.
| |
Join |
Joins together a number of strings.
| |
Split(Byte) |
Splits the string into a number of substrings based on a separator.
| |
Split(Byte, Int32) |
Splits the string into a limited number of substrings based on a separator.
| |
StartsWith |
Checks if the start of the current string matches the specified string.
| |
Substring(Int32) |
Extracts the end of a string.
| |
Substring(Int32, Int32) |
Extracts part of a string.
| |
ToByteArray |
Gets the bytes that make up the IRC string.
| |
ToString |
Converts to a .NET string using UTF-8 encoding.
(Overrides Object ToString .) | |
ToString(Encoding) |
Converts to a .NET string using the specified encoding.
|
Operators
Name | Description | |
---|---|---|
Addition |
Concatenates two strings.
| |
Equality |
Compares two strings for equality.
| |
( Byte to IrcString) |
Casts a byte array to an IRC string.
| |
(String to IrcString) |
Casts a .NET string to an IRC string using UTF-8 encoding.
| |
(IrcString to String) |
Casts the IRC string to a .NET string using UTF-8 encoding.
| |
(IrcString to Byte ) |
Casts the IRC string to a byte array.
| |
Inequality |
Compares two strings for inequality.
|
Fields
Name | Description | |
---|---|---|
Empty |
A zero-byte string.
|
Properties
Name | Description | |
---|---|---|
Item |
Gets a byte from the IRC string.
| |
Length |
The length of the IRC string, in bytes.
|
See Also