Searched defs:MemFile (Results 1 – 2 of 2) sorted by relevance
28 struct MemFile : public CORE_NS::IFile { struct29 explicit MemFile(BASE_NS::vector<uint8_t> vec = {}) : data_(BASE_NS::move(vec)) {} in data_() argument31 Mode GetMode() const override in GetMode()35 void Close() override in Close()39 uint64_t Read(void* buffer, uint64_t count) override in Read()48 uint64_t Write(const void* buffer, uint64_t count) override in Write()57 uint64_t Append(const void* buffer, uint64_t count, uint64_t flushSize) override in Append()66 uint64_t GetLength() const override in GetLength()70 bool Seek(uint64_t offset) override in Seek()78 uint64_t GetPosition() const override in GetPosition()[all …]
31 struct MemFile : public CORE_NS::IFile { struct47 BASE_NS::vector<uint8_t> data_;