GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DATA::AMF (3)

.ds Aq ’

NAME

Data::AMF - serialize / deserialize AMF data

CONTENTS

SYNOPSIS



    use 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);



DESCRIPTION

This 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 ALSO

Data::AMF::Packet, Catalyst::Controller::FlashRemoting

NOTICE

Data::AMF is currently in a very early alpha development stage. The current version is not support AMF3, and application interface is still fluid.

METHOD

    new(%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.

AUTHOR

Daisuke Murase <typester@cpan.org>

COPYRIGHT

This 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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 DATA::AMF (3) 2010-08-31

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.