equal
deleted
inserted
replaced
799 TInt RFileBuf64::DoPreInit() |
799 TInt RFileBuf64::DoPreInit() |
800 { |
800 { |
801 DoDiscard(); |
801 DoDiscard(); |
802 iReadAheadSize = RFileBuf64::KDefaultReadAheadSize; |
802 iReadAheadSize = RFileBuf64::KDefaultReadAheadSize; |
803 iBase = static_cast <TUint8*> (User::Alloc(iCapacity)); |
803 iBase = static_cast <TUint8*> (User::Alloc(iCapacity)); |
804 return iBase ? KErrNone : KErrNoMemory; |
804 return iBase ? KErrNone : KErrNoMemory; |
805 } |
805 } |
806 |
806 |
807 /** |
807 /** |
808 Performs post-initialization of the RFileBuf64 object. |
808 Performs post-initialization of the RFileBuf64 object. |
809 If aInitErr is not KErrNone, then the buffer memory will be released. |
809 If aInitErr is not KErrNone, then the buffer memory will be released. |