C# Class Netstream.NetStreamPacker

Datei anzeigen Open project: graphstream/gs-netstream Class Usage Examples

Public Methods

Method Description
PackMessage ( NetStreamStorage buffer ) : NetStreamStorage
PackMessage ( NetStreamStorage buffer, int startIndex, int endIndex ) : NetStreamStorage
PackMessageSize ( int capacity ) : NetStreamStorage

Method Details

PackMessage() public method

public PackMessage ( NetStreamStorage buffer ) : NetStreamStorage
buffer NetStreamStorage
return NetStreamStorage

PackMessage() public abstract method

public abstract PackMessage ( NetStreamStorage buffer, int startIndex, int endIndex ) : NetStreamStorage
buffer NetStreamStorage
startIndex int
endIndex int
return NetStreamStorage

PackMessageSize() public abstract method

public abstract PackMessageSize ( int capacity ) : NetStreamStorage
capacity int
return NetStreamStorage