void writeTag(ImageOutputStream ios) throws IOException {
  ios.write(0xff);
  ios.write(tag);
  write2bytes(ios,length);
}

void writeTag ( ImageOutputStream ios ) throws IOException { ios . write ( 0xff ) ; ios . write ( tag ) ; write2bytes ( ios , length ) ; }
writes the marker , tag , and length . note that length should be verified by the caller as a correct jpeg length , i . e it includes itself .
