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

Function vtkSessionGetBlob

Serialization/Manager/vtkSession.cxx:189–194  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

187
188 //-------------------------------------------------------------------------------
189 uint8_t* vtkSessionGetBlob(vtkSession session, const char* hash, size_t* length)
190 {
191 auto blobArray = session->Manager->GetBlob(hash);
192 *length = static_cast<std::size_t>(blobArray->GetNumberOfValues());
193 return blobArray->GetPointer(0);
194 }
195
196 //-------------------------------------------------------------------------------
197 vtkSessionJson vtkSessionInvoke(

Callers 1

GetBlobMethod · 0.85

Calls 3

GetBlobMethod · 0.45
GetNumberOfValuesMethod · 0.45
GetPointerMethod · 0.45

Tested by

no test coverage detected