class CMemStream;
physinterface.h
For "fastload" serialization
bool bDeleteBuf;
int bMeasureOnly;
bool bSwapEndian;
SPU_DOMAIN_LOCAL char m_dummyBuf[4];
int m_iPos;
int m_nSize;
SPU_DOMAIN_LOCAL char* * m_pBuf;
CMemStream();
CMemStream(bool swap);
CMemStream(void * pbuf, int sz, bool swap);
int GetAllocatedSize();
void * GetBuf();
int GetUsedSize();
template <class ftype> ftype Read();
template <class ftype> void Read(ftype & op);
void ReadRaw(void * pbuf, int sz);
template <class ftype> void ReadType(ftype* op, int count = 1);
template <class ftype> void Write(const ftype & op);
void Write(const void * pbuf, int sz);