pydicom.encaps.decode_data_sequence

pydicom.encaps.decode_data_sequence(data)

Read encapsulated data and return a list of strings.

Parameters

data (bytes or str) – The encapsulated data, typically the value from Dataset.PixelData.

Returns

All fragments as a list of bytes.

Return type

list of bytes