pydicom.encaps.decode_data_sequence¶
- pydicom.encaps.decode_data_sequence(data: bytes) List[bytes] ¶
Read encapsulated data and return a list of bytes.
- Parameters
data (bytes) – The encapsulated data, typically the value from
Dataset.PixelData
.- Returns
All fragments as a list of
bytes
.- Return type
list of bytes