def decode(byte_data):
    if byte_data is None:
        return None
    return byte_data.decode()
Decode the byte data to a string if not None.
dataset/ETHPy150Open jasonrbriggs/stomp.py/stomp/backward3.py/decode