void PacketInterface.encode() { PacketUtil.encodeHeader(packet_, this.type()); PacketUtil.encode(packet_, name_); PacketUtil.encode(packet_, text_); }
void Packetinterface.encode() { PacketUtil.encodeHeader(stream, type); PacketUtil.encode(stream, userNumber); }
void PacketInterface.encode() { PacketUtil.encodeHeader(packet_, this.type()); PacketUtil.encode(packet_, clientId_); PacketUtil.encode(packet_, oidAccountId_); }
void PacketInterface.encode() { PacketUtil.encodeHeader(packet_, this.type()); PacketUtil.encode(packet_, id_); PacketUtil.encode(packet_, password_); }
public static void encode(MemoryStream packet, string str) { PacketUtil.encode(packet, (Int32)str.Length); packet.Write(Encoding.UTF8.GetBytes(str), 0, str.Length); }
//-------------------------------------------------------------------// //--- encodeing 부분 public static void encodeHeader(MemoryStream packet, Int64 headerType) { PacketUtil.encode(packet, headerType); }
void Packetinterface.encode() { PacketUtil.encodeHeader(packet_, this.type()); PacketUtil.encode(packet_, result_); }