pydicom.values.convert_tag¶
-
pydicom.values.convert_tag(byte_string, is_little_endian, offset=0)¶ Return a decoded
BaseTagfrom the encoded byte_string.- Parameters
byte_string (bytes) – The encoded tag.
is_little_endian (bool) –
Trueif the encoding is little endian,Falseotherwise.offset (int, optional) – The byte offset in byte_string to the start of the tag.
- Returns
The decoded tag.
- Return type