pynetdicom.utils.decode_bytes

pynetdicom.utils.decode_bytes(encoded_value: bytes) str[source]

Return the decoded string from encoded_value.

New in version 2.0.

Parameters

encoded_value (bytes) – The encoded value to be decoded.

Returns

The decoded ISO 646 (ASCII) string.

Return type

str