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

Function ReturnAsUnsignedShort

Utilities/DICOMParser/DICOMFile.h:137–140  ·  view source on GitHub ↗

Convert data to unsigned short.

Source from the content-addressed store, hash-verified

135 // Convert data to unsigned short.
136 //
137 static ushort ReturnAsUnsignedShort(unsigned char* data, bool)
138 {
139 return *reinterpret_cast<doublebyte*>(data);
140 }
141
142 //
143 // Convert data to signed short.

Callers 5

ArrayCallbackMethod · 0.85
BitsAllocatedCallbackMethod · 0.85
WidthCallbackMethod · 0.85
HeightCallbackMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected