comparison OrthancFramework/Sources/FileStorage/IStorageArea.h @ 4495:fa2311f94d9f

IStorageArea::ReadRange()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 04 Feb 2021 18:01:07 +0100
parents 64f06e7d5fc7
children 10357b2f7150
comparison
equal deleted inserted replaced
4494:39192eb9b43d 4495:fa2311f94d9f
42 FileContentType type) = 0; 42 FileContentType type) = 0;
43 43
44 virtual IMemoryBuffer* Read(const std::string& uuid, 44 virtual IMemoryBuffer* Read(const std::string& uuid,
45 FileContentType type) = 0; 45 FileContentType type) = 0;
46 46
47 virtual IMemoryBuffer* ReadRange(const std::string& uuid,
48 FileContentType type,
49 uint64_t start /* inclusive */,
50 uint64_t end /* exclusive */) = 0;
51
47 virtual void Remove(const std::string& uuid, 52 virtual void Remove(const std::string& uuid,
48 FileContentType type) = 0; 53 FileContentType type) = 0;
49 }; 54 };
50 } 55 }