de-serialise an image . concode_field_sep byte image_data[] concode_elem_sep BufferedImage image concode_elem_sep String INTERNAL_ENCODING concode_elem_sep String name concode_elem_sep long serialVersionUID concode_field_sep void setName concode_elem_sep void writeImage concode_elem_sep byte[] getImageData concode_elem_sep void setImageData concode_elem_sep String getName concode_elem_sep void writeObject concode_elem_sep ImageReader getInternalImageReader concode_elem_sep BufferedImage getImage concode_elem_sep void readImage concode_elem_sep ImageWriter getInternalImageWriter concode_elem_sep void setImage
void function ( java . io . ObjectInputStream arg0 ) { name = ( String ) arg0 . readObject ( ) ; ByteArrayOutputStream loc0 = new ByteArrayOutputStream ( ) ; byte loc1 [ ] = new byte [ 1024 ] ; int loc2 = arg0 . read ( loc1 ) ; while ( loc2 >= 0 ) { loc0 . write ( loc1 , 0 , loc2 ) ; loc2 = arg0 . read ( loc1 ) ; } image_data = loc0 . toByteArray ( ) ; image = null ; }