Would you consider expanding asIBinaryStream to include something like the below 2 functions:
class asIBinaryStream
{
public:
virtual void Read(void *ptr, asUINT size) = 0;
virtual void Write(const void *ptr, asUINT size) = 0;
// NEW FUNCTIONS
virtual void FinishedRead() {}
virtual void FinishedWrite() {}
public:
virtual ~asIBinaryStream() {}
};
Thanks for your consideration.