138 virtual int Tell() = 0;
159 virtual int Write(
const UByte *pbufer,
int numBytes) = 0;
164 virtual int Read(
UByte *pbufer,
int numBytes) = 0;
176 virtual bool Flush() = 0;
199 virtual bool Close() = 0;
307 virtual int Write(
const UByte *pbuffer,
int numBytes) {
return pFile->Write(pbuffer,numBytes); }
308 virtual int Read(
UByte *pbuffer,
int numBytes) {
return pFile->Read(pbuffer,numBytes); }
386 virtual int Write(
const UByte *pbufer,
int numBytes);
387 virtual int Read(
UByte *pbufer,
int numBytes);
393 virtual bool Flush();
400 virtual bool Close();
452 FileIndex += numBytes;
500 Valid = (!fileName.
IsEmpty() && pBuffer && buffSize > 0) ?
true :
false;
510 Valid = (pfileName && pBuffer && buffSize > 0) ?
true :
false;
void WriteSInt8BE(SInt16 v)
void WriteUByteBE(UByte v)
void WriteFloatBE(float v)
virtual int BytesAvailable()
void WriteUInt64BE(UInt64 v)
void WriteUInt16BE(UInt16 v)
UByte SystemToBE(UByte v)
BufferModeType BufferMode
int SkipBytes(int numBytes)
bool SetBufferMode(BufferModeType mode)
virtual int CopyFromStream(File *pstream, int byteSize)
__BEGIN_NAMESPACE_STD void * memcpy(void *__restrict __dest, const void *__restrict __src, size_t __n) __THROW __nonnull((1
virtual int Seek(int offset, int origin=Seek_Set)=0
const char * GetFilePath()
UByte BEToSystem(UByte v)
virtual SInt64 LGetLength()=0
void WriteSInt32BE(UInt32 v)
virtual const char * GetFilePath()
virtual SInt64 LGetLength()
virtual int Write(const UByte *pbufer, int numBytes)
void WriteDoubleBE(double v)
virtual int BytesAvailable()
virtual int Read(UByte *pbuffer, int numBytes)
void WriteUInt16(UInt16 v)
void WriteSByteBE(SByte v)
void WriteSInt32(SInt32 v)
virtual int BytesAvailable()=0
const char * ToCStr() const
UByte LEToSystem(UByte v)
void WriteUInt32BE(UInt32 v)
virtual int CopyFromStream(File *pstream, int byteSize)=0
MemoryFile(const String &fileName, const UByte *pBuffer, int buffSize)
virtual int Write(const UByte *pbuffer, int numBytes)
__END_DECLS typedef int8_t SByte
void WriteSInt64(SInt64 v)
virtual bool IsWritable()
void WriteSInt16BE(UInt16 v)
int Write(const UByte *pbuffer, int numBytes)
void WriteSInt16(SInt16 v)
SInt64 LSeek(SInt64 offset, int origin=Seek_Set)
virtual const char * GetFilePath()=0
void WriteUInt64(UInt64 v)
virtual bool IsWritable()=0
int CopyFromStream(File *pstream, int byteSize)
const char *OVR_CDECL GetShortFilename(const char *purl)
virtual int Write(const UByte *pbufer, int numBytes)=0
int Read(UByte *pbufer, int numBytes)
void WriteDouble(double v)
MemoryFile(const char *pfileName, const UByte *pBuffer, int buffSize)
virtual int SkipBytes(int numBytes)
virtual int CopyFromStream(File *pstream, int byteSize)
DelegatedFile(File *pfile)
int Seek(int offset, int origin=Seek_Set)
virtual int SkipBytes(int numBytes)=0
UByte SystemToLE(UByte v)
virtual int Seek(int offset, int origin=Seek_Set)
virtual int GetErrorCode()
virtual int GetErrorCode()=0
void WriteSInt64BE(UInt64 v)
DelegatedFile(const DelegatedFile &source)
virtual SInt64 LSeek(SInt64 offset, int origin=Seek_Set)=0
virtual SInt64 LSeek(SInt64 offset, int origin=Seek_Set)
virtual int Read(UByte *pbufer, int numBytes)=0
BufferedFile(const BufferedFile &source)
void WriteUInt32(UInt32 v)
virtual SInt64 LSeek(SInt64 offset, int origin=Seek_Set)
virtual int GetLength()=0
virtual int Seek(int offset, int origin=Seek_Set)
virtual int Read(UByte *pbufer, int numBytes)
virtual int SkipBytes(int numBytes)
virtual SInt64 LGetLength()
#define OVR_UNUSED2(a1, a2)
void WriteUInt8BE(UInt16 v)