code: def from_raw_message(cls, rawmessage):
          
          userdata_dict = Userdata(rawmessage[8:22])
          return ExtendedSend(rawmessage[2:5],
                              {'cmd1': rawmessage[6],
                               'cmd2': rawmessage[7]},
                              userdata_dict,
                              flags=rawmessage[5],
                              acknak=rawmessage[22:23])
docs: Create a message from a raw byte stream.