MCPcopy Create free account
hub / github.com/Kitware/VTK / GetBlob

Method GetBlob

Web/WebAssemblySession/vtkRemoteSession.cxx:111–117  ·  view source on GitHub ↗

-------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

109
110//-------------------------------------------------------------------------------
111emscripten::val vtkRemoteSession::GetBlob(const std::string& hash)
112{
113 std::size_t length;
114 auto* data = vtkSessionGetBlob(this->Session, hash.c_str(), &length);
115 val jsArray = Uint8Array.new_(typed_memory_view(length, data));
116 return jsArray;
117}
118
119//-------------------------------------------------------------------------------
120emscripten::val vtkRemoteSession::Invoke(

Callers

nothing calls this directly

Calls 2

vtkSessionGetBlobFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected