GDCM
2.2.0
|
00001 /*========================================================================= 00002 00003 Program: GDCM (Grassroots DICOM). A DICOM library 00004 00005 Copyright (c) 2006-2011 Mathieu Malaterre 00006 All rights reserved. 00007 See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details. 00008 00009 This software is distributed WITHOUT ANY WARRANTY; without even 00010 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00011 PURPOSE. See the above copyright notice for more information. 00012 00013 =========================================================================*/ 00014 #ifndef GDCMUNPACKER12BITS_H 00015 #define GDCMUNPACKER12BITS_H 00016 00017 #include "gdcmTypes.h" 00018 00019 namespace gdcm 00020 { 00033 class GDCM_EXPORT Unpacker12Bits 00034 { 00035 public: 00039 static bool Pack(char *out, const char *in, size_t n); 00040 00044 static bool Unpack(char *out, const char *in, size_t n); 00045 }; 00046 00047 } // end namespace gdcm 00048 00049 #endif //GDCMUNPACKER12BITS_H