void write(ImageOutputStream ios) throws IOException {
  length=14;
  writeTag(ios);
  byte[] id={0x41,0x64,0x6F,0x62,0x65};
  ios.write(id);
  write2bytes(ios,version);
  write2bytes(ios,flags0);
  write2bytes(ios,flags1);
  ios.write(transform);
}

void write ( ImageOutputStream ios ) throws IOException { length = 14 ; writeTag ( ios ) ; byte [ ] id = { 0x41 , 0x64 , 0x6F , 0x62 , 0x65 } ; ios . write ( id ) ; write2bytes ( ios , version ) ; write2bytes ( ios , flags0 ) ; write2bytes ( ios , flags1 ) ; ios . write ( transform ) ; }
writes the data for this segment to the stream in valid jpeg format .
