Revision as of 15:54, 2 April 2009 by
How to use RFileWriteStream
From Nokia Developer Wiki
This article shows how to use RFileWriteStream to write a stream to a file.
#include <s32file.h> //RFileWriteStream
#include <f32file.h> //RFs
LIBRARY estor.lib //RFileWriteStream
LIBRARY efsrv.lib //RFs
// writerStream on cleanup stack
//fs is ur file session and fileName is name of ur file.
User::LeaveIfError(writerStream.Create(fs, fileName, EFileWrite));
// free writerStream