+#endif
+
+///////////////////////////////////////////////////////////////////////////////
+// FileWriter
+///////////////////////////////////////////////////////////////////////////////
+FileWriter::FileWriter(const char *path)
+{
+ io_=fopen(path, "wb");
+}
+
+FileWriter::~FileWriter()
+{
+ fclose(io_);
+}
+
+void FileWriter::write(const char *buf, unsigned int size)
+{
+ fwrite(buf, size, 1, io_);
+}
+