pydicom.encaps.defragment_data

pydicom.encaps.defragment_data(data)

Read encapsulated data and return the fragments as one continuous bytes.

Parameters

data (list of bytes) – The encapsulated pixel data fragments.

Returns

All fragments concatenated together.

Return type

bytes