Code example for PublicKey

Methods: getEncoded

0
     * Abstract. Writes the raw packet data to the data stream. 
     */ 
    public void writePacketData(DataOutputStream par1DataOutputStream) throws IOException
    { 
        writeString(field_73381_a, par1DataOutputStream);
        func_73274_a(par1DataOutputStream, field_73379_b.getEncoded());
        func_73274_a(par1DataOutputStream, field_73380_c);
    } 
 
    /** 
     * Passes this Packet on to the NetHandler for processing. 
     */ 
    public void processPacket(NetHandler par1NetHandler)
    { 
        par1NetHandler.func_72470_a(this);
    } 
 
    /** 
     * Abstract. Return the size of the packet (not counting the header). 
     */ 
    public int getPacketSize()