equal
deleted
inserted
replaced
103 |
103 |
104 // |
104 // |
105 // Non-leaving Seek |
105 // Non-leaving Seek |
106 // |
106 // |
107 TInt Seek(TInt aOffset); |
107 TInt Seek(TInt aOffset); |
|
108 TInt Seek(TInt64 aOffset); |
108 |
109 |
109 private: |
110 private: |
110 const TDesC8& iBuffer; // The buffer that contains the source data. |
111 const TDesC8& iBuffer; // The buffer that contains the source data. |
111 TInt iBufPos; // The current position in the data source. |
112 TInt iBufPos; // The current position in the data source. |
112 CReader::TReaderType iType; // The type of reader it is. |
113 CReader::TReaderType iType; // The type of reader it is. |
161 |
162 |
162 // |
163 // |
163 // Seeks to a new file location and fills the buffer from there. |
164 // Seeks to a new file location and fills the buffer from there. |
164 // |
165 // |
165 TInt PhysicallySeekAndRead(TInt aAmount); |
166 TInt PhysicallySeekAndRead(TInt aAmount); |
166 |
167 TInt PhysicallySeekAndRead(TInt64 aOffset); |
167 private: |
168 private: |
168 RFile* iFile; |
169 RFile* iFile; |
169 TInt iFilePos; |
170 TInt64 iFilePos; |
170 TBuf8<KBufSize> iFileBuffer; |
171 TBuf8<KBufSize> iFileBuffer; |
171 }; |
172 }; |
172 |
173 |
173 |
174 |
174 #endif |
175 #endif |