- void * GetImageDataRaw();
- size_t GetImageDataIntoVectorRaw(void* destination, size_t maxSize);
-
- // Allocates ExpectedSize bytes of memory at this->Data and copies the
- // pointed data to it. Copying the image might look useless but
- // the caller might destroy it's image (without knowing it: think
- // of a complicated interface where display is done with a library
- // e.g. VTK) before calling the Write
-
- // see also gdcmHeader::SetImageDataSize ?!?
- bool SetImageData (void * data, size_t expectedSize);
+ uint8_t* GetImageDataRaw();
+ void GetImageDataIntoVectorRaw(void* destination, size_t maxSize);
+
+ // see also Header::SetImageDataSize ?!?
+ bool SetImageData (uint8_t* data, size_t expectedSize);