The IrcStatement type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
IrcStatement |
Creates an IRC statement with nothing set.
| |
IrcStatement(IrcIdentity, IrcString, IrcString ) |
Creates an IRC statement.
|
Methods
Name | Description | |
---|---|---|
ToByteArray |
Converts the IRC statement into a byte array, including the ending CR+LF.
| |
ToByteArray(Boolean ) |
Converts the IRC statement into a byte array, including the ending CR+LF,
and additionally returns whether the string was truncated.
| |
ToIrcString |
Converts the IRC statement into an IRC string containing all of its bytes,
including the ending CR+LF.
| |
ToIrcString(Boolean ) |
Converts the IRC statement into an IRC string containing all of its bytes,
including the ending CR+LF, and additionally returns whether the string was truncated.
| |
TryParse( Byte , Int32 , Int32, IrcStatement ) |
Tries to read a buffer and parse out an IRC statement.
| |
TryParse( Byte , Int32 , Int32, IrcStatement , IrcStatementParseResult ) |
Tries to read a buffer and parse out an IRC statement.
Additionally, on failure, the reason for failure is returned.
|
Properties
Name | Description | |
---|---|---|
Command |
The command, or if the IRC statement is a reply, a three-digit number.
| |
Parameters |
The parameters of the statement.
| |
ReplyCode |
The numeric reply code, if the IRC statement is a reply.
| |
Source |
The source of the statement, if any. This is called the prefix in the IRC specification.
|
See Also