Example #1
0
		void write(const char *file, const buffer &data, error_policy ep)
		{
			autoClose ac(open(file, "w", ep));
			if (!ac.getHandle())
				return;
			write(ac.getHandle(), data.getData(), data.getSize());
		}
Example #2
0
 void write(const char* file, const buffer& data, error_policy ep)
 {
     write(file, data.getData(), data.getSize(), ep);
 }