code: public static void writeTag(OutputStream out, Tag tag) throws IOException {
          writeTag(out, tag, false);
      }
docs: Writes an NBT tag in big endian.
  
  @param out Output stream to write to.
  @param tag Tag to write.
  @throws java.io.IOException If an I/O error occurs.