Revision as of 23:23, 31 March 2009 by
How to use RFileWriteStream
From Nokia Developer Wiki
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