Explorar el Código

Added printf style write function.

Branimir Karadžić hace 8 años
padre
commit
15cf5e4750
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      include/bx/readerwriter.h

+ 3 - 0
include/bx/readerwriter.h

@@ -262,6 +262,9 @@ namespace bx
 	/// Write string view.
 	int32_t write(WriterI* _writer, const StringView& _str, Error* _err = NULL);
 
+	///
+	int32_t write(WriterI* _writer, Error* _err, const char* _format, ...);
+
 	/// Write repeat the same value.
 	int32_t writeRep(WriterI* _writer, uint8_t _byte, int32_t _size, Error* _err = NULL);