persistentstorage/sql/OsLayer/FileBuf64.cpp
branchRCL_3
changeset 23 26645d81f48d
parent 21 28839de615b4
child 24 cc28652e0254
equal deleted inserted replaced
21:28839de615b4 23:26645d81f48d
   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.