8 #ifndef Serialization_ReadByteStream_H 9 #define Serialization_ReadByteStream_H 16 #if !defined(WIN32) && !defined(__ANDROID__) 23 class BinaryCollection;
33 virtual void Read(
unsigned char * pData,
unsigned Int32 cb) = 0;
34 virtual void Read(
unsigned char * pData,
Int64 cb) = 0;
36 virtual void Rewind() = 0;
38 virtual void Peek(
unsigned char * pData,
unsigned Int32 cb) = 0;
39 virtual void Peek(
unsigned char * pData,
Int64 iRequestedBytes) = 0;
40 virtual void Skip(
unsigned Int32 cb) = 0;
43 virtual Int64 Get64BitSize()
throw() = 0;
44 virtual Int64 GetNumberOfUnreadBytes()
throw() = 0;
49 virtual void StartCount() = 0;
50 virtual Int64 GetCount() = 0;
51 virtual void StopCount() = 0;
53 virtual void Delete()
throw() = 0;
55 virtual bool WaitForData(
unsigned Int32 iTimeOut) = 0;
57 virtual void SetTimeout(
Int64 iTimeoutInMilliseconds) = 0;
65 #if !defined(WIN32) && !defined(__ANDROID__) 70 #endif // Serialization_ReadByteStream_H
Definition: ReadByteStream.h:30
Definition: BinaryCollection.h:23
#define Int64
Definition: BasicTypes.h:36
Definition: BigDecimal.h:18
MBase::StrongPtr< ReadByteStream, MBase::DeleteOperatorGeneric< ReadByteStream > > ReadByteStreamPtr
Definition: ReadByteStream.h:63
#define Int32
Definition: BasicTypes.h:20
Definition: StrongPtr.h:50
DLL_PDSERIALIZATION_EXIM ReadByteStream * CreateReadByteStreamFromSharedMem(MMultiProcess::SharedMemory *ipSharedMemPtr)
ULONG cb
Definition: Msi_objbase.h:25
#define DLL_PDSERIALIZATION_EXIM
Definition: PDSerialization.h:21
virtual ~ReadByteStream()
Definition: ReadByteStream.h:59
Definition: SharedMemory.h:59
Definition: MultiReadStream.h:23