code: def DeserializeTX(buffer):
          
          mstream = MemoryStream(buffer)
          reader = BinaryReader(mstream)
  
          tx = Transaction.DeserializeFrom(reader)
  
          return tx
docs: Deserialize the stream into a Transaction object.
  
          Args:
              buffer (BytesIO): stream to deserialize the Transaction from.
  
          Returns:
              neo.Core.TX.Transaction: