Code example for ObjectOutput

Methods: writeIntwrite

0
         
    } 
 
    public void writeExternal(ObjectOutput out) throws IOException {
        byte[] data = this.getData();
        out.writeInt(data.length);
        out.write(data);
    } 
     
} 
Connect your IDE to all the code out there  Get Codota for Java