C# Class LiteNetLib.Utils.NetDataReader

Show file Open project: RevenantX/LiteNetLib Class Usage Examples

Protected Properties

Property Type Description
_data byte[]
_maxLength int
_position int

Public Methods

Method Description
Clear ( ) : void
GetBool ( ) : bool
GetByte ( ) : byte
GetBytes ( ) : byte[]
GetBytes ( byte destination ) : void
GetBytes ( byte destination, int lenght ) : void
GetDouble ( ) : double
GetFloat ( ) : float
GetInt ( ) : int
GetLong ( ) : long
GetNetEndPoint ( ) : NetEndPoint
GetSByte ( ) : sbyte
GetShort ( ) : short
GetString ( int maxLength ) : string
GetUInt ( ) : uint
GetULong ( ) : ulong
GetUShort ( ) : ushort
NetDataReader ( ) : System
NetDataReader ( byte source ) : System
NetDataReader ( byte source, int offset ) : System
NetDataReader ( byte source, int offset, int maxSize ) : System
SetSource ( byte source ) : void
SetSource ( byte source, int offset ) : void
SetSource ( byte source, int offset, int maxSize ) : void

Method Details

Clear() public method

public Clear ( ) : void
return void

GetBool() public method

public GetBool ( ) : bool
return bool

GetByte() public method

public GetByte ( ) : byte
return byte

GetBytes() public method

public GetBytes ( ) : byte[]
return byte[]

GetBytes() public method

public GetBytes ( byte destination ) : void
destination byte
return void

GetBytes() public method

public GetBytes ( byte destination, int lenght ) : void
destination byte
lenght int
return void

GetDouble() public method

public GetDouble ( ) : double
return double

GetFloat() public method

public GetFloat ( ) : float
return float

GetInt() public method

public GetInt ( ) : int
return int

GetLong() public method

public GetLong ( ) : long
return long

GetNetEndPoint() public method

public GetNetEndPoint ( ) : NetEndPoint
return NetEndPoint

GetSByte() public method

public GetSByte ( ) : sbyte
return sbyte

GetShort() public method

public GetShort ( ) : short
return short

GetString() public method

public GetString ( int maxLength ) : string
maxLength int
return string

GetUInt() public method

public GetUInt ( ) : uint
return uint

GetULong() public method

public GetULong ( ) : ulong
return ulong

GetUShort() public method

public GetUShort ( ) : ushort
return ushort

NetDataReader() public method

public NetDataReader ( ) : System
return System

NetDataReader() public method

public NetDataReader ( byte source ) : System
source byte
return System

NetDataReader() public method

public NetDataReader ( byte source, int offset ) : System
source byte
offset int
return System

NetDataReader() public method

public NetDataReader ( byte source, int offset, int maxSize ) : System
source byte
offset int
maxSize int
return System

SetSource() public method

public SetSource ( byte source ) : void
source byte
return void

SetSource() public method

public SetSource ( byte source, int offset ) : void
source byte
offset int
return void

SetSource() public method

public SetSource ( byte source, int offset, int maxSize ) : void
source byte
offset int
maxSize int
return void

Property Details

_data protected property

protected byte[] _data
return byte[]

_maxLength protected property

protected int _maxLength
return int

_position protected property

protected int _position
return int