Cronous Emulation Server Daemon

DataDecoder.decode Method 

Decodes data specifying a type.

[Visual Basic]
Public Function decode( _ 
   ByVal type As Type, _ 
   ByVal data As ArrayList, _ 
   ByVal offset As Integer _ 
) As Object
[C#]
public object decode(
   Type type,
   ArrayList data,
   int offset
);
[C++]
public: Object* decode(
   Type* type,
   ArrayList* data,
   int offset
);
[JScript]
public function decode(
   Type type,
   ArrayList data,
   int offset
): Object;

Parameters

type
Target type.
data
Raw data.
offset
Start offset in data

Return Value

Instance of type, representing the decoded data.

See Also

DataDecoder Class | croemud.packet Namespace