I'm trying to read data from the stream until the desired delimiter is found. I know that in some specific situation delimiter will not exist. But the function
should read the whole stream in this case. It breaks instead with the STORE-Stream 13 panic code.
void ReadL(TDes16 &aDes, TChar aDelim);
As I read in the docs' the panic occurs for some operation that I'm not calling.
The question is:
inline TStreamTransfer(TInt aMaxLength);
In debug mode, the function raises a STORE-Stream 13 panic, if this value is negative.
Can I search for a certain character in the stream (it's RReadStream)?
If it's the API bug, maybe there's some workaround?
my code below...
TUint size = aStream.Source()->SizeL();
HBufC* streamBuf = HBufC::NewL(size);
TChar a = KColon();