IrcString MembersNetIRC2 IRC Client Library for .NET

The IrcString type exposes the following members.
Constructors

  NameDescription
Public methodIrcString( Byte )
Creates an IRC string from a byte array.
Public methodIrcString(String)
Creates an IRC string by converting a .NET string using UTF-8 encoding.
Public methodIrcString(String, Encoding)
Creates an IRC string by converting a .NET string using the specified encoding.
Public methodIrcString( Byte , Int32, Int32)
Creates an IRC string from part of a byte array.
Back to Top
Methods

  NameDescription
Public methodContains
Checks if the string contains a particular byte.
Public methodCopyTo
Copies the string into a byte array.
Public methodEquals(Object)
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Overrides OnlineObject Equals(Object).)
Public methodEquals(IrcString)
Compares the current string with another string.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Overrides OnlineObject GetHashCode .)
Public methodIndexOf(Byte)
Scans the string for the first instance of a particular byte.
Public methodIndexOf(Byte, Int32)
Scans part of the string for the first instance of a particular byte.
Public methodIndexOf(Func Byte, Boolean , Int32, Int32)
Scans part of the string for the first byte that matches the specified condition.
Public methodStatic memberJoin
Joins together a number of strings.
Public methodSplit(Byte)
Splits the string into a number of substrings based on a separator.
Public methodSplit(Byte, Int32)
Splits the string into a limited number of substrings based on a separator.
Public methodStartsWith
Checks if the start of the current string matches the specified string.
Public methodSubstring(Int32)
Extracts the end of a string.
Public methodSubstring(Int32, Int32)
Extracts part of a string.
Public methodToByteArray
Gets the bytes that make up the IRC string.
Public methodToString 
Converts to a .NET string using UTF-8 encoding.
(Overrides OnlineObject ToString .)
Public methodToString(Encoding)
Converts to a .NET string using the specified encoding.
Back to Top
Operators

  NameDescription
Public operatorStatic memberAddition
Concatenates two strings.
Public operatorStatic memberEquality
Compares two strings for equality.
Public operatorStatic member ( Byte  to IrcString)
Casts a byte array to an IRC string.
Public operatorStatic member (String to IrcString)
Casts a .NET string to an IRC string using UTF-8 encoding.
Public operatorStatic member (IrcString to String)
Casts the IRC string to a .NET string using UTF-8 encoding.
Public operatorStatic member (IrcString to  Byte )
Casts the IRC string to a byte array.
Public operatorStatic memberInequality
Compares two strings for inequality.
Back to Top
Fields

  NameDescription
Public fieldStatic memberEmpty
A zero-byte string.
Back to Top
Properties

  NameDescription
Public propertyItem
Gets a byte from the IRC string.
Public propertyLength
The length of the IRC string, in bytes.
Back to Top
See Also