protected void completeTag() throws IOException {
  out.flush();
  byte[] contents=bytes.toByteArray();
  out=null;
  bytes=null;
  tags.tag(tagType,longTag,contents);
}

protected void completeTag ( ) throws IOException { out . flush ( ) ; byte [ ] contents = bytes . toByteArray ( ) ; out = null ; bytes = null ; tags . tag ( tagType , longTag , contents ) ; }
finish the tag context and write the tag
