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

Function ReturnAsInteger

Utilities/DICOMParser/DICOMFile.h:153–156  ·  view source on GitHub ↗

Convert data to int.

Source from the content-addressed store, hash-verified

151 // Convert data to int.
152 //
153 static int ReturnAsInteger(unsigned char* data, bool)
154 {
155 return vtk::scan_int<int>(std::string_view(reinterpret_cast<const char*>(data)))->value();
156 }
157
158 static float ReturnAsFloat(unsigned char* data, bool)
159 {

Callers

nothing calls this directly

Calls 1

valueMethod · 0.45

Tested by

no test coverage detected