mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
Cleanup.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user