Location:
S32MEM.H
Link against: estor.lib
class TMemBuf : public TStreamBuf;
A stream buffer that uses plain memory for its implementation.
A stream of this type is used by RMemWriteStream
and RMemReadStream
objects. It also has intermediate buffering capabilities.
This is a seekable stream buffer.
MStreamBuf
- A stream buffer that provides a generic I/O interface for streamed data
TStreamBuf
- Adds buffering capabilities to a stream buffer
TMemBuf
- A stream buffer that uses plain memory for its implementation
Defined in TMemBuf
:
DoSeekL()
, OverflowL()
, Set()
, TMemBuf()
, UnderflowL()
Inherited from MStreamBuf
:
Close()
,
DoRelease()
,
DoSynchL()
,
ERead
,
EWrite
,
PushL()
,
Read()
,
ReadL()
,
Release()
,
SeekL()
,
SizeL()
,
Synch()
,
SynchL()
,
TMark
,
TRead
,
TWrite
,
TellL()
,
Write()
,
WriteL()
Inherited from TStreamBuf
:
Avail()
,
DoReadL()
,
DoWriteL()
,
End()
,
Ptr()
,
SetBuf()
,
SetEnd()
,
SetPtr()
,
TArea
IMPORT_C void Set(TUint8 *aPtr, TUint8 *anEnd, TInt aMode=ERead|EWrite);
Sets up the stream to use the specified area of plain memory.
|
protected: virtual IMPORT_C TInt UnderflowL(TInt aMaxLength);
Re-fills the intermediate buffer and resets the start and end points of the read area.
The implementation of this function depends on the way the stream itself is implemented. For example, the in-memory streams have simple implementations.
|
|
protected: virtual IMPORT_C void OverflowL();
Empties the intermediate buffer and resets the start and end points of the write area.
The implementation of this function depends on the way the stream itself is implemented. For example, the in-memory streams have simple implementations.
protected: virtual IMPORT_C TStreamPos DoSeekL(TMark aMark, TStreamLocation aLocation, TInt anOffset);
|
|