| 42 | } |
| 43 | |
| 44 | IOSIntermediateDumpByteArray::IOSIntermediateDumpByteArray(const void* data, |
| 45 | size_t size) { |
| 46 | string_file_ = std::make_unique<StringFile>(); |
| 47 | string_file_->SetString( |
| 48 | std::string(reinterpret_cast<const char*>(data), size)); |
| 49 | } |
| 50 | |
| 51 | FileReaderInterface* IOSIntermediateDumpByteArray::FileReader() const { |
| 52 | return string_file_.get(); |