This commit is contained in:
Branimir Karadžić
2017-12-29 21:41:45 -08:00
parent e8a5e042b6
commit e37a59e487

View File

@@ -7,9 +7,10 @@
#define BX_READERWRITER_H_HEADER_GUARD
#include "allocator.h"
#include "error.h"
#include "endian.h"
#include "error.h"
#include "filepath.h"
#include "string.h"
#include "uint32_t.h"
BX_ERROR_RESULT(BX_ERROR_READERWRITER_OPEN, BX_MAKEFOURCC('R', 'W', 0, 1) );
@@ -256,10 +257,10 @@ namespace bx
int32_t write(WriterI* _writer, const void* _data, int32_t _size, Error* _err = NULL);
/// Write C string.
inline int32_t write(WriterI* _writer, const char* _str, Error* _err = NULL);
int32_t write(WriterI* _writer, const char* _str, Error* _err = NULL);
/// Write string view.
inline int32_t write(WriterI* _writer, const StringView& _str, Error* _err = NULL);
int32_t write(WriterI* _writer, const StringView& _str, Error* _err = NULL);
/// Write repeat the same value.
int32_t writeRep(WriterI* _writer, uint8_t _byte, int32_t _size, Error* _err = NULL);