C# Class Netstream.NetStreamSender.DefaultPacker

Inheritance: NetStreamPacker
显示文件 Open project: graphstream/gs-netstream

Public Methods

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

Method Details

PackMessage() public method

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

PackMessageSize() public method

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