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