Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <S32MEM.H>
Link against: estor.lib

Class RBufWriteStream

class RBufWriteStream : public RWriteStream;

Description

Supports the writing of a stream to a dynamic buffer.

Derivation

Members

Defined in RBufWriteStream:

Inherited from RWriteStream:

See also:


Construction and destruction


RBufWriteStream()

inline RBufWriteStream();

Description


RBufWriteStream(const MExternalizer< TStreamRef > &)

inline RBufWriteStream(const MExternalizer< TStreamRef > &anExter);

Description

Constructs a write stream with an externalizer. For example, CStoreMap implements MExternalizer.

Parameters

const MExternalizer< TStreamRef > &anExter

Specifies an externalizer.

See also:


RBufWriteStream(CBufBase &,TInt)

IMPORT_C RBufWriteStream(CBufBase &aBuf, TInt aPos=0);

Description

Construct a stream that writes to a dynamic buffer.

Parameters

CBufBase &aBuf

The dynamic buffer that will be the sink of this stream.

TInt aPos

The offset within the dynamic buffer where the stream starts.

See also:

[Top]


Member functions


Open(CBufBase &,TInt)

IMPORT_C void Open(CBufBase &aBuf, TInt aPos=0);

Description

Open a stream that writes to a dynamic buffer.

Parameters

CBufBase &aBuf

The dynamic buffer that will be the sink of this stream.

TInt aPos

The offset within the dynamic buffer where the stream starts.

See also:


Truncate(CBufBase &,TInt)

IMPORT_C void Truncate(CBufBase &aBuf, TInt aPos=0);

Description

Open a stream that writes into a dynamic buffer using truncate mode.

Parameters

CBufBase &aBuf

The dynamic buffer that will be the sink of this stream.

TInt aPos

The offset within the dynamic buffer where the stream starts.

See also:


Insert(CBufBase &,TInt)

IMPORT_C void Insert(CBufBase &aBuf, TInt aPos);

Description

Open a stream that writes into a dynamic buffer using insert mode.

Parameters

CBufBase &aBuf

The dynamic buffer that will be the sink of this stream.

TInt aPos

The offset within the dynamic buffer where the stream starts.

See also:


Append(CBufBase &)

inline void Append(CBufBase &aBuf);

Description

Open a stream that writes to a dynamic buffer using insert mode.

Parameters

CBufBase &aBuf

The dynamic buffer that will be the sink of this stream.

See also: