ObexInternalUtils Class Reference
class ObexInternalUtils : public CBase
|
Utility class containing on static member functions to provide internalize/externalize functionality to HBufC and
HBufC8
.
Member Functions Documentation
ExternalizeL(const HBufC *, RWriteStream &)
Externalizes a HBufC to a stream.
-
leave
-
KErrXXX Leaves with standard EPOC stream leave codes
Parameters
const
HBufC
* aBuf
|
The HBufC to be externalized
|
RWriteStream
& aStream
|
The stream to be written to
|
ExternalizeL(const HBufC8 *, RWriteStream &)
Externalizes a
HBufC8
to a stream.
-
leave
-
KErrXXX Leaves with standard EPOC stream leave codes
Parameters
const
HBufC8
* aBuf
|
The HBufC8 to be externalized
|
RWriteStream
& aStream
|
The stream to be written to
|
ExternalizeL(const TDes &, RWriteStream &)
IMPORT_C void
|
ExternalizeL
|
(
|
const
TDes
&
|
aBuf,
|
|
RWriteStream
&
|
aStream
|
|
)
|
[static]
|
Externalizes a TDes to a stream.
-
leave
-
KErrXXX Leaves with standard EPOC stream leave codes
Parameters
const
TDes
& aBuf
|
The TDes to be externalized
|
RWriteStream
& aStream
|
The stream to be written to
|
ExternalizeL(const TDes8 &, RWriteStream &)
Externalizes a
TDes8
to a stream.
-
leave
-
KErrXXX Leaves with standard EPOC stream leave codes
Parameters
const
TDes8
& aBuf
|
The TDes8 to be externalized
|
RWriteStream
& aStream
|
The stream to be written to
|
InternalizeL(HBufC *&, RReadStream &)
Internalizes a HBufC from a stream.
-
leave
-
KErrXXX Leaves with standard EPOC stream and memory allocation leave codes
Parameters
HBufC
*& aBuf
|
The HBufC to be internalized
|
RReadStream
& aStream
|
The stream to be read from
|
InternalizeL(HBufC8 *&, RReadStream &)
Internalizes a
HBufC8
from a stream.
-
leave
-
KErrXXX Leaves with standard EPOC stream and memory allocation leave codes
Parameters
HBufC8
*& aBuf
|
The HBufC8 to be internalized
|
RReadStream
& aStream
|
The stream to be read from
|
InternalizeL(TDes &, RReadStream &)
Internalizes a TDes from a stream.
-
leave
-
KErrXXX Leaves with standard EPOC stream and memory allocation leave codes
-
leave
-
KErrOverflow if the incoming data is too big for the
TBuf
provided
Parameters
TDes
& aBuf
|
The TDes to be internalized
|
RReadStream
& aStream
|
The stream to be read from
|
InternalizeL(TDes8 &, RReadStream &)
Internalizes a
TDes8
from a stream.
-
leave
-
KErrXXX Leaves with standard EPOC stream and memory allocation leave codes
-
leave
-
KErrOverflow if the incoming data is too big for the
TBuf
provided
Parameters
TDes8
& aBuf
|
The TDes8 to be internalized
|
RReadStream
& aStream
|
The stream to be read from
|
Panic(TObexInternalUtilsPanic)
Indicates Panic originates from Obex MTM
Member Enumerations Documentation
Enum TObexInternalUtilsPanic
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.