| 192 | } |
| 193 | |
| 194 | quadbyte 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 | |
| 206 | quadbyte DICOMFile::ReadNBytes(int len) |
| 207 | { |
no test coverage detected