Cronous Emulation Server Daemon

Packet.encode Method (Int32, UInt16)

Encodes an ushort in little endian encoding.

[Visual Basic]
Public Sub encode( _ 
   ByVal offset As Integer, _ 
   ByVal u As UInt16 _ 
)
[C#]
public void encode(
   int offset,
   ushort u
);
[C++]
public: void encode(
   int offset,
   unsigned short u
);
[JScript]
public function encode(
   int offset,
   UInt16 u
);

Parameters

offset
Packet offset.
u
Integer.

See Also

Packet Class | croemud.packet Namespace | Packet.encode Overload List