Thursday, April 03, 2008

How To: Externalizing and internalizing descriptors

Example:
TBuf KMaxFileNameLength iFileName
void TSettings Settings::ExternalizeL(RWriteStream& aStream) const
{
aStream << iFileName;
}

void TSettings::InternalizeL(RReadStream& aStream)
{
aStream >> iFileName;
}

No comments:

stats counter