def METHOD_NAME(self, data, extra=None):
    data, extra = super().METHOD_NAME(data, extra)
    if len(data) <= 0 or type(data) is str:
        return (data, extra)
    result_data = b""
    while len(data) > 1:
        # Read the offset to the next zero byte
        # Note: This may be off the end of the data. If so, the packet is over
        zero_offset = data[0]
        if zero_offset == 0xFF:  # No zeros in this segment
            result_data += data[1:255]
            data = data[255:]
        elif zero_offset <= 1:  # End of data or 1 zero
            result_data += b"\x00"
            data = data[1:]
        else:  # Mid range zero or end of packet
            result_data += data[1:zero_offset]
            data = data[zero_offset:]
            if len(data) >= 1:
                result_data += b"\x00"
    return (result_data, extra)