Add read()/write() to Blob interface
This commit is contained in:
parent
8dd0275c75
commit
0818f5ec86
@ -21,6 +21,9 @@ public:
|
||||
virtual uint64_t size() const = 0;
|
||||
virtual void resize(uint64_t numBytes) = 0;
|
||||
|
||||
virtual void read(void *target, uint64_t offset, uint64_t size) const = 0;
|
||||
virtual void write(const void *source, uint64_t offset, uint64_t size) = 0;
|
||||
|
||||
virtual void flush() const = 0;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user