C# Class LiteNetLib.Utils.NetDataReader

Afficher le fichier Open project: RevenantX/LiteNetLib Class Usage Examples

Protected Properties

Свойство Type Description
_data byte[]
_maxLength int
_position int

Méthodes publiques

Méthode 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 méthode

public Clear ( ) : void
Résultat void

GetBool() public méthode

public GetBool ( ) : bool
Résultat bool

GetByte() public méthode

public GetByte ( ) : byte
Résultat byte

GetBytes() public méthode

public GetBytes ( ) : byte[]
Résultat byte[]

GetBytes() public méthode

public GetBytes ( byte destination ) : void
destination byte
Résultat void

GetBytes() public méthode

public GetBytes ( byte destination, int lenght ) : void
destination byte
lenght int
Résultat void

GetDouble() public méthode

public GetDouble ( ) : double
Résultat double

GetFloat() public méthode

public GetFloat ( ) : float
Résultat float

GetInt() public méthode

public GetInt ( ) : int
Résultat int

GetLong() public méthode

public GetLong ( ) : long
Résultat long

GetNetEndPoint() public méthode

public GetNetEndPoint ( ) : NetEndPoint
Résultat NetEndPoint

GetSByte() public méthode

public GetSByte ( ) : sbyte
Résultat sbyte

GetShort() public méthode

public GetShort ( ) : short
Résultat short

GetString() public méthode

public GetString ( int maxLength ) : string
maxLength int
Résultat string

GetUInt() public méthode

public GetUInt ( ) : uint
Résultat uint

GetULong() public méthode

public GetULong ( ) : ulong
Résultat ulong

GetUShort() public méthode

public GetUShort ( ) : ushort
Résultat ushort

NetDataReader() public méthode

public NetDataReader ( ) : System
Résultat System

NetDataReader() public méthode

public NetDataReader ( byte source ) : System
source byte
Résultat System

NetDataReader() public méthode

public NetDataReader ( byte source, int offset ) : System
source byte
offset int
Résultat System

NetDataReader() public méthode

public NetDataReader ( byte source, int offset, int maxSize ) : System
source byte
offset int
maxSize int
Résultat System

SetSource() public méthode

public SetSource ( byte source ) : void
source byte
Résultat void

SetSource() public méthode

public SetSource ( byte source, int offset ) : void
source byte
offset int
Résultat void

SetSource() public méthode

public SetSource ( byte source, int offset, int maxSize ) : void
source byte
offset int
maxSize int
Résultat void

Property Details

_data protected_oe property

protected byte[] _data
Résultat byte[]

_maxLength protected_oe property

protected int _maxLength
Résultat int

_position protected_oe property

protected int _position
Résultat int