C# Class Blaze.Server.TdfEncoder

Show file Open project: sebastian-malek/blaze-server Class Usage Examples

Public Methods

Method Description
Encode ( ) : byte[]
TdfEncoder ( ) : System
TdfEncoder ( List data ) : System
WriteTdf ( List tdfs ) : void

Private Methods

Method Description
WriteBlob ( byte data ) : void
WriteInteger ( ulong value ) : void
WriteLabel ( string label ) : void

Encodes a label to tag.

WriteList ( TdfBaseType type, ArrayList list ) : void
WriteString ( string value ) : void
WriteStruct ( List data ) : void
WriteTdf ( Tdf tdf ) : void
WriteTdfInteger ( TdfInteger tdf ) : void
WriteTdfIntegerList ( TdfIntegerList tdf ) : void
WriteTdfList ( TdfList tdf ) : void
WriteTdfMap ( TdfMap tdf ) : void
WriteTdfMin ( TdfMin tdf ) : void
WriteTdfUnion ( TdfUnion tdf ) : void
WriteTdfVector2 ( TdfVector2 tdf ) : void
WriteTdfVector3 ( TdfVector3 tdf ) : void

Method Details

Encode() public method

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

TdfEncoder() public method

public TdfEncoder ( ) : System
return System

TdfEncoder() public method

public TdfEncoder ( List data ) : System
data List
return System

WriteTdf() public method

public WriteTdf ( List tdfs ) : void
tdfs List
return void