summaryrefslogtreecommitdiff
path: root/core/fxcrt/cfx_seekablestreamproxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/cfx_seekablestreamproxy.h')
-rw-r--r--core/fxcrt/cfx_seekablestreamproxy.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/fxcrt/cfx_seekablestreamproxy.h b/core/fxcrt/cfx_seekablestreamproxy.h
index cadc96816d..c25ab3c9b6 100644
--- a/core/fxcrt/cfx_seekablestreamproxy.h
+++ b/core/fxcrt/cfx_seekablestreamproxy.h
@@ -25,11 +25,11 @@ class CFX_SeekableStreamProxy : public Retainable {
FX_FILESIZE GetLength() const { return m_pStream->GetSize(); }
FX_FILESIZE GetPosition() { return m_iPosition; }
- FX_STRSIZE GetBOMLength() const { return m_wBOMLength; }
+ size_t GetBOMLength() const { return m_wBOMLength; }
bool IsEOF() const { return m_iPosition >= GetLength(); }
void Seek(From eSeek, FX_FILESIZE iOffset);
- FX_STRSIZE ReadString(wchar_t* pStr, FX_STRSIZE iMaxLength, bool* bEOS);
+ size_t ReadString(wchar_t* pStr, size_t iMaxLength, bool* bEOS);
void WriteString(const WideStringView& str);
@@ -39,14 +39,14 @@ class CFX_SeekableStreamProxy : public Retainable {
private:
CFX_SeekableStreamProxy(const RetainPtr<IFX_SeekableStream>& stream,
bool isWriteSteam);
- CFX_SeekableStreamProxy(uint8_t* data, FX_STRSIZE size);
+ CFX_SeekableStreamProxy(uint8_t* data, size_t size);
~CFX_SeekableStreamProxy() override;
- FX_STRSIZE ReadData(uint8_t* pBuffer, FX_STRSIZE iBufferSize);
+ size_t ReadData(uint8_t* pBuffer, size_t iBufferSize);
bool m_IsWriteStream;
uint16_t m_wCodePage;
- FX_STRSIZE m_wBOMLength;
+ size_t m_wBOMLength;
FX_FILESIZE m_iPosition;
RetainPtr<IFX_SeekableStream> m_pStream;
};