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

Method ReadQuadByte

Utilities/DICOMParser/DICOMFile.cxx:194–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194quadbyte DICOMFile::ReadQuadByte()
195{
196 quadbyte sh;
197 int sz = sizeof(quadbyte);
198 this->Read(reinterpret_cast<char*>(&sh), sz);
199 if (PlatformIsBigEndian)
200 {
201 sh = static_cast<quadbyte>(swap4(static_cast<uint>(sh)));
202 }
203 return (sh);
204}
205
206quadbyte DICOMFile::ReadNBytes(int len)
207{

Callers 2

IsValidRepresentationMethod · 0.80
ParseImplicitRecordMethod · 0.80

Calls 2

ReadMethod · 0.95
swap4Function · 0.85

Tested by

no test coverage detected