Query: data::amf
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Data::AMF(3pm) User Contributed Perl Documentation Data::AMF(3pm)NAMEData::AMF - serialize / deserialize AMF dataSYNOPSISuse Data::AMF; my $amf0 = Data::AMF->new( version => 0 ); my $amf3 = Data::AMF->new( version => 3 ); # AMF0 to Perl Object my $obj = $amf0->deserialize($data); # Perl Object to AMF0 my $data = $amf0->serialize($obj);DESCRIPTIONThis module is (de)serializer for Adobe's AMF (Action Message Format). Data::AMF is core module and it recognize only AMF data, not AMF packet. If you want to read/write AMF Packet, see Data::AMF::Packet instead.SEE ALSOData::AMF::Packet, Catalyst::Controller::FlashRemotingNOTICEData::AMF is currently in a very early alpha development stage. The current version is not support AMF3, and application interface is still fluid.METHODnew(%option) Create Data::AMF object. Option parameters are: version Target AMF version. It should be 0 or 3. (default 0 for AMF0) serialize($obj) Serialize perl object ($obj) to AMF, and return the AMF data. deserialize($amf) Deserialize AMF data to perl object, and return the perl object.AUTHORDaisuke Murase <typester@cpan.org>COPYRIGHTThis program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. perl v5.12.4 2010-08-31 Data::AMF(3pm)