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  -  FLV::AMFWRITER (3)

.ds Aq ’

NAME

FLV::AMFWriter - Wrapper for the AMF::Perl serializer

CONTENTS

LICENSE

See FLV::Info

METHODS

This is a subclass of AMF::Perl::IO::Deserializer.

That class is optimized for Flash Remoting communications. We are instead just interested in the protocol for the data payload of those messages, since that’s all that FLV carries.

So, this class is a hack. As of this writing AMF::Perl was at v0.15, which lacked support for hashes. So, we hack that in. Hopefully we did it in a future-friendly way...
$pkg->new($content) Creates a minimal AMF::Perl::IO::Serializer instance.
$self->write_flv_meta(@data) Returns a byte string of serialized data
$self->writeMixedArray() Serializes a hashref.

This is a workaround for versions of AMF::Perl which did not handle hashes (namely v0.15 and earlier). This method is only installed if a method of the same name does not exist in the superclass.

This should be removed when a newer release of AMF::Perl is available.

$self->writeData($datum) This is a minimal override of writeData() in the superclass to add support for mixed arrays (aka hashes).

As above, it is only installed if AMF::Perl::IO::Serializer lacks a writeMixedArray() method.

AUTHOR

See FLV::Info
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 FLV::AMFWRITER (3) 2009-03-14

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