<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def decode_from_bytes(cls, data):
 """Decode an AMQP message from a bytearray. The returned message will not have a delivery context and therefore will be considered to be in an "already settled" state. :param data: The AMQP wire-encoded bytes to decode. :type data: bytes or bytearray """

        decoded_message = c_uamqp.decode_message(len(data), data)
        return cls(message=decoded_message)