|
| virtual void | AttachBuffer (FX_LPBYTE pBuffer, size_t nSize, FX_BOOL bTakeOver=false)=0 |
| | Attach a memory buffer. More...
|
| |
| virtual void | DetachBuffer ()=0 |
| | Detach the current memory buffer. More...
|
| |
| virtual void | EstimateSize (size_t nInitSize, size_t nGrowSize)=0 |
| | Change initialize size and grow size. More...
|
| |
| virtual FX_LPBYTE | GetBuffer () const =0 |
| | Get the current memory buffer. More...
|
| |
| virtual FX_BOOL | IsConsecutive () const =0 |
| | Determine whether the current mode is consecutive or not. More...
|
| |
| virtual FX_BOOL | Flush ()=0 |
| | Flush internal buffer. More...
|
| |
| virtual FX_INT64 | GetPosition ()=0 |
| | Get the current reading position in stream. More...
|
| |
| virtual FX_INT64 | GetSize ()=0 |
| | Get the current stream size, in bytes. More...
|
| |
| virtual FX_BOOL | IsEOF ()=0 |
| | Determine whether reach the end of stream. More...
|
| |
| virtual FX_BOOL | ReadBlock (void *buffer, FX_INT64 offset, size_t size)=0 |
| | Read a data block from stream. More...
|
| |
| virtual size_t | ReadBlock (void *buffer, size_t size)=0 |
| | Read data block from stream. More...
|
| |
| virtual void | Release ()=0 |
| | Destroy the current instance. More...
|
| |
| virtual IFX_FileStream * | Retain ()=0 |
| | Create a shared instance. More...
|
| |
| virtual FX_BOOL | WriteBlock (const void *buffer, FX_INT64 offset, size_t size)=0 |
| | Write a block data into stream. More...
|
| |
| virtual FX_BOOL | WriteBlock (const void *buffer, size_t size) |
| | Write a block data to the end of current stream. More...
|
| |
| virtual void | ClearRange () |
| | Clear accessing range set by function IFX_FileRead::SetRange. More...
|
| |
| virtual FX_INT64 | SetPosition (FX_INT64 pos) |
| | Set the current file accessing position. More...
|
| |
| virtual FX_BOOL | SetRange (FX_INT64 offset, FX_INT64 size) |
| | Set accessing range. More...
|
| |