21 lines
531 B
C
21 lines
531 B
C
#include <stdio.h>
|
|
#include "accessor.h"
|
|
|
|
typedef struct tagWriter
|
|
{
|
|
FILE* pFile;
|
|
} _Writer, * Writer;
|
|
|
|
Writer UE_Writer_Create(Accessor accessor);
|
|
|
|
void UE_Writer_WriteInt16(short value);
|
|
void UE_Writer_WriteInt32(int value);
|
|
void UE_Writer_WriteInt64(long value);
|
|
|
|
void UE_Writer_WriteUInt16(unsigned short value);
|
|
void UE_Writer_WriteUInt32(unsigned int value);
|
|
void UE_Writer_WriteUInt64(unsigned long value);
|
|
|
|
void UE_Writer_WriteFixedString(String value, int length);
|
|
void UE_Writer_WriteLengthPrefixedString(String value);
|