How to deserialize and serialize AMF Packets in Python?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Googler Offline
Junior Member
Posts: 28
Joined: Oct 2009
Reputation: 0
Rainbow  How to deserialize and serialize AMF Packets in Python? Post: #1
HI I am writing a Plugin for NBF.ca
I have found some perl code here:
Code:
my $data = Data::AMF::Packet->new->deserialize($packet);
  $data->messages->[0]->{value}->[1] = $data->messages->[1]->{value}->[1] = $mid;
  $data = $data->serialize;

I would like to know its Python counterparts. I am pretty new to PyAMF.

Thanks a lot!
find quote