Method | Description | |
---|---|---|
Dispose ( ) : void |
|
|
PacketBuilder ( ) : System |
Initializes a new instance of the PacketBuilder class with the default capacity.
|
|
ToByteArray ( ) : byte[] |
Gets a copy of the internal byte buffer of the PacketBuilder.
|
|
WriteBoolean ( bool boolean ) : void | ||
WriteByte ( byte number ) : void | ||
WriteByte ( int number ) : void | ||
WriteBytes ( byte bytes ) : void | ||
WriteInt16 ( int number ) : void | ||
WriteInt16 ( short number ) : void | ||
WriteInt16 ( uint number ) : void | ||
WriteInt16 ( ushort number ) : void | ||
WriteInt32 ( int number ) : void | ||
WriteInt32 ( uint number ) : void | ||
WriteInt64 ( long number ) : void | ||
WriteInt64 ( ulong number ) : void | ||
WriteLengthString ( string @string ) : void | ||
WritePaddedString ( string @string, int paddingLength ) : void | ||
WriteZeroes ( int count ) : void |
Method | Description | |
---|---|---|
ThrowIfDisposed ( ) : void |
Throws a new ObjectDisposedException if the current object is disposed.
|
|
WriteDirect ( byte bytes ) : void |
public WriteLengthString ( string @string ) : void | ||
@string | string | |
return | void |
public WritePaddedString ( string @string, int paddingLength ) : void | ||
@string | string | |
paddingLength | int | |
return | void |