Code example for DataInput

Methods: readByte

0
        deleteDir = 0;
    } 
 
    @Override 
    public void readFields(DataInput in) throws IOException {
        deleteKmer.readFields(in);
        deleteDir = in.readByte();
    } 
 
    @Override 
    public void write(DataOutput out) throws IOException {
        deleteKmer.write(out);
        out.writeByte(deleteDir);
    } 
 
}