Code example for DataOutput

Methods: writeLong

0
        this.a = datainput.readLong();
        this.b = datainput.readLong();
    } 
 
    public void a(DataOutput dataoutput) {
        dataoutput.writeLong(this.a);
        dataoutput.writeLong(this.b);
    } 
 
    public void handle(Connection connection) {
        connection.a(this);
    } 
 
    public int a() { 
        return 16; 
    } 
 
    public boolean e() { 
        return true; 
    }