TDereferencer Class Reference
This class is useful when you want to dereference character data This class check for buffer overflow This is much faster than stream classes provided by symbian During the ETM traces we found that those classes are 3 FPS less than these utility classes This class won't be checking for data alignment.
Constructor & Destructor Documentation
TDereferencer(TUint8 *, TInt)
TDereferencer(const TDesC8 &)
TDereferencer | ( | const TDesC8 & | aBuf | ) | [inline] |
Member Functions Documentation
CheckOutOfBoundL(TInt)
void | CheckOutOfBoundL | ( | TInt | aLength | ) | [private, inline] |
DerefInt8ArrayL(TInt, TInt)
GetLength()
Retrieves the silze of the buffer
GetPtr()
Retrieves the ptr to the data stream
GetReadingPos()
TInt
| GetReadingPos | ( | ) | [inline] |
Returns current reading position
IsSafeL(TInt, TInt)
void | IsSafeL | ( | TInt | aLength, |
| TInt | aAt = 0 |
| ) | [inline] |
SkipL(TInt)
void | SkipL | ( | TInt | aLength | ) | [inline] |
operator TInt16()
operator TInt16 | ( | ) | [inline] |
operator TInt32()
operator TInt32 | ( | ) | [inline] |
operator TReal32()
operator TReal32 | ( | ) | [inline] |
operator TReal64()
operator TReal64 | ( | ) | [inline] |
Member Data Documentation
TInt
iDataLength
TInt
| iDataLength | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.