MCPcopy Create free account
hub / github.com/baldurk/renderdoc / NewString

Method NewString

renderdoc/android/jdwp_connection.cpp:523–534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521}
522
523value Connection::NewString(threadID thread, const rdcstr &str)
524{
525 Command cmd(CommandSet::VirtualMachine, 11);
526 cmd.GetData().Write(str);
527
528 if(!SendReceive(cmd))
529 return {};
530
531 stringID ret;
532 cmd.GetData().Read(ret).Done();
533 return {Tag::String, {ret}};
534}
535
536value Connection::GetLocalValue(threadID thread, frameID frame, int32_t slot, Tag tag)
537{

Callers 2

InjectLibrariesFunction · 0.80

Calls 4

DoneMethod · 0.80
WriteMethod · 0.45
GetDataMethod · 0.45
ReadMethod · 0.45

Tested by

no test coverage detected