C# Class RTSEngine.Net.NetSerializer

Afficher le fichier Open project: RegrowthStudios/VoxelRTS

Méthodes publiques

Méthode Description
Deserialize ( byte &buf, int &off ) : void
ReadInt ( byte &buf, int &off ) : int
ReadString ( byte &buf, int &off ) : string
Serialize ( byte &buf, int &off ) : void
Write ( byte &buf, int &off, int v ) : void
Write ( byte &buf, int &off, string v ) : void

Method Details

Deserialize() public static méthode

public static Deserialize ( byte &buf, int &off ) : void
buf byte
off int
Résultat void

ReadInt() public static méthode

public static ReadInt ( byte &buf, int &off ) : int
buf byte
off int
Résultat int

ReadString() public static méthode

public static ReadString ( byte &buf, int &off ) : string
buf byte
off int
Résultat string

Serialize() public static méthode

public static Serialize ( byte &buf, int &off ) : void
buf byte
off int
Résultat void

Write() public static méthode

public static Write ( byte &buf, int &off, int v ) : void
buf byte
off int
v int
Résultat void

Write() public static méthode

public static Write ( byte &buf, int &off, string v ) : void
buf byte
off int
v string
Résultat void