pydicom.encaps.defragment_data

pydicom.encaps.defragment_data(data)[source]

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