Code example for DataOutput

Methods: writeBytewriteInt

0
        this.a = datainput.readInt();
        this.b = datainput.readByte();
    } 
 
    public void a(DataOutput dataoutput) {
        dataoutput.writeInt(this.a);
        dataoutput.writeByte(this.b);
    } 
 
    public void handle(Connection connection) {
        connection.a(this);
    } 
 
    public int a() { 
        return 5; 
    } 
 
    public boolean e() { 
        return true; 
    } 
Stop searching for code, let great code find you!  Add Codota to your java IDE