How to use RFileWriteStream
Revision as of 14:53, 2 April 2009
Following article shows how to use RFileWriteStream to write stream to a file.
#include <s32file.h> //RFileWriteStream
#include <f32file.h> //RFs
LIBRARY estor.lib //RFileWriteStream
LIBRARY efsrv.lib //RFs
writerStream.PushL(); // writerStream on cleanup stack
User::LeaveIfError(writerStream.Create(fs, fileName, EFileWrite)); //fs is ur file session and fileName is name of ur file.
writerStream.Pop(); // writerStream