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