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