C# Class LiteNetLib.Utils.NetDataWriter

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

Protected Properties

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

Méthodes publiques

Méthode Description
CopyData ( ) : byte[]
NetDataWriter ( ) : System
NetDataWriter ( bool autoResize ) : System
NetDataWriter ( bool autoResize, int initialSize ) : System
Put ( NetEndPoint endPoint ) : void
Put ( bool value ) : void
Put ( byte value ) : void
Put ( byte data, int offset, int length ) : void
Put ( double value ) : void
Put ( float value ) : void
Put ( int value ) : void
Put ( long value ) : void
Put ( sbyte value ) : void
Put ( short value ) : void
Put ( string value ) : void
Put ( string value, int maxLength ) : void
Put ( uint value ) : void
Put ( ulong value ) : void
Put ( ushort value ) : void
Reset ( ) : void
Reset ( int size ) : void
ResizeIfNeed ( int newSize ) : void

Method Details

CopyData() public méthode

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

NetDataWriter() public méthode

public NetDataWriter ( ) : System
Résultat System

NetDataWriter() public méthode

public NetDataWriter ( bool autoResize ) : System
autoResize bool
Résultat System

NetDataWriter() public méthode

public NetDataWriter ( bool autoResize, int initialSize ) : System
autoResize bool
initialSize int
Résultat System

Put() public méthode

public Put ( NetEndPoint endPoint ) : void
endPoint NetEndPoint
Résultat void

Put() public méthode

public Put ( bool value ) : void
value bool
Résultat void

Put() public méthode

public Put ( byte value ) : void
value byte
Résultat void

Put() public méthode

public Put ( byte data, int offset, int length ) : void
data byte
offset int
length int
Résultat void

Put() public méthode

public Put ( double value ) : void
value double
Résultat void

Put() public méthode

public Put ( float value ) : void
value float
Résultat void

Put() public méthode

public Put ( int value ) : void
value int
Résultat void

Put() public méthode

public Put ( long value ) : void
value long
Résultat void

Put() public méthode

public Put ( sbyte value ) : void
value sbyte
Résultat void

Put() public méthode

public Put ( short value ) : void
value short
Résultat void

Put() public méthode

public Put ( string value ) : void
value string
Résultat void

Put() public méthode

public Put ( string value, int maxLength ) : void
value string
maxLength int
Résultat void

Put() public méthode

public Put ( uint value ) : void
value uint
Résultat void

Put() public méthode

public Put ( ulong value ) : void
value ulong
Résultat void

Put() public méthode

public Put ( ushort value ) : void
value ushort
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

Reset() public méthode

public Reset ( int size ) : void
size int
Résultat void

ResizeIfNeed() public méthode

public ResizeIfNeed ( int newSize ) : void
newSize int
Résultat void

Property Details

_autoResize protected_oe property

protected bool _autoResize
Résultat bool

_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