1Data::AMF(3)          User Contributed Perl Documentation         Data::AMF(3)
2
3
4

NAME

6       Data::AMF - serialize / deserialize AMF data
7

SYNOPSIS

9           use Data::AMF;
10
11           my $amf0 = Data::AMF->new( version => 0 );
12           my $amf3 = Data::AMF->new( version => 3 );
13
14           # AMF0 to Perl Object
15           my $obj = $amf0->deserialize($data);
16
17           # Perl Object to AMF0
18           my $data = $amf0->serialize($obj);
19

DESCRIPTION

21       This module is (de)serializer for Adobe's AMF (Action Message Format).
22       Data::AMF is core module and it recognize only AMF data, not AMF
23       packet. If you want to read/write AMF Packet, see Data::AMF::Packet
24       instead.
25

SEE ALSO

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

NOTICE

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

METHOD

35   new(%option)
36       Create Data::AMF object.
37
38       Option parameters are:
39
40       version
41           Target AMF version.
42
43           It should be 0 or 3. (default 0 for AMF0)
44
45   serialize($obj)
46       Serialize perl object ($obj) to AMF, and return the AMF data.
47
48   deserialize($amf)
49       Deserialize AMF data to perl object, and return the perl object.
50

AUTHOR

52       Daisuke Murase <typester@cpan.org>
53
55       This program is free software; you can redistribute it and/or modify it
56       under the same terms as Perl itself.
57
58       The full text of the license can be found in the LICENSE file included
59       with this module.
60
61
62
63perl v5.32.1                      2021-01-27                      Data::AMF(3)
Impressum