Hi experts,
In BufferToBeFilled(CMMFBuffer* aBuffer), what is the size of aBuffer to be taken, Does we have to allocate it internally..
see the following code snippet:

where mBuf is 2048 i.e. TBuf8<2048>...
if(aBuffer->LastBuffer() == EFalse)
for(int i=0;i<2048;i++)
mBuf[i] = buffer[k++];


((CMMFDescriptorBuffer*)aBuffer)->Data() = mBuf;

tell me where am i wrong i.e how much buffer size to be taken...