Hi,
Is there a way to append to an array in DCMTK or set an array to a pointer which will then be owned by DCMTK? I can only find ways to get pointers to array data or overwrite it at once by taking a copy (I think). Allocating an array inside DCMTK and writing into it is also fine. As long as there is no copy of the whole block twice, it's good.
Thanks,
Append to array / Take ownership of given block of data
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2506
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: Append to array / Take ownership of given block of data
Maybe, createUint8/16Array() is what you are looking for. See documentation for details.
Re: Append to array / Take ownership of given block of data
Thanks, this was what I have been looking for!
Who is online
Users browsing this forum: Baidu [Spider], Google [Bot] and 1 guest