IrcStatement TryParse Method ( Byte , Int32 , Int32, IrcStatement )NetIRC2 IRC Client Library for .NET
Tries to read a buffer and parse out an IRC statement.

Namespace: NetIrc2.Parsing
Assembly: NetIrc2 (in NetIrc2.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static bool TryParse(
	byte[] buffer,
	ref int offset,
	int count,
	out IrcStatement statement
)

Parameters

buffer
Type:  OnlineSystem Byte 
The buffer to read from.
offset
Type: OnlineSystem Int32 
The offset to begin reading. The parser may advance this, even if parsing fails.
count
Type: OnlineSystem Int32
The maximum number of bytes to read.
statement
Type: NetIrc2.Parsing IrcStatement 
The statement, if parsing succeeds, or null.

Return Value

true if parsing succeeded.
See Also