41 virtual int64_t
Read(
void* buffer, int64_t
size) = 0;
#define NETWORK_MANAGER_API
virtual bool Seek(int64_t offset, SeekDirection direction)=0
returns true on success
virtual int64_t Read(void *buffer, int64_t size)=0
returns number of bytes read
virtual int64_t GetDataSize() const =0
May return 0 even if HasData() returns true.
virtual bool HasData() const =0
return true on if stream is not empty
std::shared_ptr< RequestPayloadStream > RequestPayloadStreamPtr
RequestPayloadStreamPtr CreateRequestPayloadStream(const void *data, int64_t size, bool copyData)