31#if !defined(_ODFLATMEMSTREAM_H_INCLUDED_)
32#define _ODFLATMEMSTREAM_H_INCLUDED_
53template <
class TBase = OdEmptyBaseClass>
73template <
class TBase = OdEmptyBaseClass>
OdSmartPtr< OdFlatMemStream > OdFlatMemStreamPtr
ALLOCDLL_EXPORT void * odrxAlloc(size_t nBytes)
ALLOCDLL_EXPORT void odrxFree(void *pMemBlock)
ODRX_DECLARE_MEMBERS(OdFlatMemStream)
static OdFlatMemStreamPtr createNew(void *buffer, OdUInt64 numBytes, OdUInt64 curPosition=0)
void copyDataTo(OdStreamBuf *pDestination, OdUInt64 sourceStart, OdUInt64 sourceEnd)
OdFlatMemStreamImpl(void *buffer, OdUInt64 numBytes, OdUInt64 nCurPos)
void putByte(OdUInt8 value)
void putBytes(const void *buffer, OdUInt32 numBytes)
void init(void *buffer, OdUInt64 numBytes, OdUInt64 curPosition=0)
virtual void append(OdUInt64)
void getBytes(void *buffer, OdUInt32 numBytes)
~OdFlatMemStreamManaged()
static OdFlatMemStreamPtr createNew(OdUInt64 numBytes)
OdUInt64 seek(OdInt64 offset, OdDb::FilerSeekType seekType)
GLint GLenum GLsizei GLsizei GLint GLsizei const void * data
GLsizei const GLfloat * value