C# Class GameBase.Network.PackIn

显示文件 Open project: dream-young-soul/soul Class Usage Examples

Public Methods

Method Description
IsComplete ( ) : bool
PackIn ( byte data ) : System
ReadBool ( ) : bool
ReadBuff ( int len ) : byte[]
ReadByte ( ) : byte
ReadFloat ( ) : float
ReadInt16 ( ) : short
ReadInt32 ( ) : int
ReadLong ( ) : long
ReadString ( ) : String
ReadString ( int len ) : String
ReadUInt16 ( ) : ushort
ReadUInt32 ( ) : uint
ReadULong ( ) : ulong

Method Details

IsComplete() public method

public IsComplete ( ) : bool
return bool

PackIn() public method

public PackIn ( byte data ) : System
data byte
return System

ReadBool() public method

public ReadBool ( ) : bool
return bool

ReadBuff() public method

public ReadBuff ( int len ) : byte[]
len int
return byte[]

ReadByte() public method

public ReadByte ( ) : byte
return byte

ReadFloat() public method

public ReadFloat ( ) : float
return float

ReadInt16() public method

public ReadInt16 ( ) : short
return short

ReadInt32() public method

public ReadInt32 ( ) : int
return int

ReadLong() public method

public ReadLong ( ) : long
return long

ReadString() public method

public ReadString ( ) : String
return String

ReadString() public method

public ReadString ( int len ) : String
len int
return String

ReadUInt16() public method

public ReadUInt16 ( ) : ushort
return ushort

ReadUInt32() public method

public ReadUInt32 ( ) : uint
return uint

ReadULong() public method

public ReadULong ( ) : ulong
return ulong