(s)
return s.replace('\x00', '').replace('\0', '').replace('\000', '')
Replace null bytes in a string
Replace null bytes in a string
Replace null bytes in a string
def decode(s):
    """
    Replace null bytes in a string
    """
    return s.replace('\x00', '').replace('\0', '').replace('\000', '')
def decode ( s ) : return s . replace ( '\x00' , '' ) . replace ( '\0' , '' ) . replace ( '\000' , '' )