C# Class RTSEngine.Net.NetSerializer

Datei anzeigen Open project: RegrowthStudios/VoxelRTS

Public Methods

Method 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 method

public static Deserialize ( byte &buf, int &off ) : void
buf byte
off int
return void

ReadInt() public static method

public static ReadInt ( byte &buf, int &off ) : int
buf byte
off int
return int

ReadString() public static method

public static ReadString ( byte &buf, int &off ) : string
buf byte
off int
return string

Serialize() public static method

public static Serialize ( byte &buf, int &off ) : void
buf byte
off int
return void

Write() public static method

public static Write ( byte &buf, int &off, int v ) : void
buf byte
off int
v int
return void

Write() public static method

public static Write ( byte &buf, int &off, string v ) : void
buf byte
off int
v string
return void