C# Class Server.Network.ByteQueue

ファイルを表示 Open project: Grimoric/RunUO.T2A Class Usage Examples

Public Methods

Method Description
ByteQueue ( ) : System
Clear ( ) : void
Dequeue ( byte buffer, int offset, int size ) : int
Enqueue ( byte buffer, int offset, int size ) : void
GetPacketID ( ) : byte
GetPacketLength ( ) : int

Private Methods

Method Description
SetCapacity ( int capacity ) : void

Method Details

ByteQueue() public method

public ByteQueue ( ) : System
return System

Clear() public method

public Clear ( ) : void
return void

Dequeue() public method

public Dequeue ( byte buffer, int offset, int size ) : int
buffer byte
offset int
size int
return int

Enqueue() public method

public Enqueue ( byte buffer, int offset, int size ) : void
buffer byte
offset int
size int
return void

GetPacketID() public method

public GetPacketID ( ) : byte
return byte

GetPacketLength() public method

public GetPacketLength ( ) : int
return int