| 180 | } |
| 181 | |
| 182 | doublebyte DICOMFile::ReadDoubleByteAsLittleEndian() |
| 183 | { |
| 184 | doublebyte sh = 0; |
| 185 | int sz = sizeof(doublebyte); |
| 186 | this->Read(reinterpret_cast<char*>(&sh), sz); |
| 187 | if (PlatformIsBigEndian) |
| 188 | { |
| 189 | sh = swap2(sh); |
| 190 | } |
| 191 | return (sh); |
| 192 | } |
| 193 | |
| 194 | quadbyte DICOMFile::ReadQuadByte() |
| 195 | { |
no test coverage detected