MCPcopy Create free account
hub / github.com/chromium/crashpad / IOSIntermediateDumpByteArray

Method IOSIntermediateDumpByteArray

util/ios/ios_intermediate_dump_interface.cc:44–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44IOSIntermediateDumpByteArray::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
51FileReaderInterface* IOSIntermediateDumpByteArray::FileReader() const {
52 return string_file_.get();

Callers

nothing calls this directly

Calls 1

SetStringMethod · 0.45

Tested by

no test coverage detected