pydicom.dataelem.RawDataElement¶
- class pydicom.dataelem.RawDataElement(tag: BaseTag, VR: str | None, length: int, value: bytes | None, value_tell: int, is_implicit_VR: bool, is_little_endian: bool, is_raw: bool = True, is_buffered: bool = False)[source]¶
Container for the data from a raw (mostly) undecoded element.
- __init__()¶
Methods
__init__
()count
(value, /)Return number of occurrences of value.
index
(value[, start, stop])Return first index of value.
Attributes
Alias for field number 1
Alias for field number 8
Alias for field number 5
Alias for field number 6
Alias for field number 7
Alias for field number 2
Alias for field number 0
Alias for field number 3
Alias for field number 4
- count(value, /)¶
Return number of occurrences of value.
- index(value, start=0, stop=9223372036854775807, /)¶
Return first index of value.
Raises ValueError if the value is not present.