Data::AMF::Packet(3)

πŸ“¦
version 0.09 Β· 2 versions
, in fedora 43

πŸ’– Data::AMF::Packet πŸ’–

ok so bestie, this is the manual page for Data::AMF::Packet, a Perl module that lives in the User Contributed Perl Documentation corner of the world. It's giving "glue code that actually slays" β€” it does one job and it does it cute. πŸŽ€


✨ NAME ✨

Data::AMF::Packet β€” serialize / deserialize AMF message packet. that's it, that's the whole vibe.


🌸 SYNOPSIS 🌸

ok look at this, it's literally so clean:

        use Data::AMF::Packet

        my $packet = Data::AMF::Packet->deserialize($data);
        my $data   = $packet->serialize;
yes bestie, use Data::AMF::Packet has no semicolon up there. that's what the original says, so that's what we're keeping. do with that information what you will 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

so Data::AMF::Packet provides the ability to serialize/deserialize an AMF Packet. that's the whole main character arc.

now, an AMF Packet is an extended format of AMF, and it's used for Flash's HTTP based Remote Procidure Call β€” which you probably know better as Flash Remoting. iykyk. 🧚


πŸ‘‘ SEE ALSO πŸ‘‘

go peek at these when you're done here, they're the friend group:

  • Data::AMF
  • Catalyst::Controller::FlashRemoting

πŸ’… METHODS πŸ’…

serialize

Serialize a Data::AMF::Packet object into AMF Packet data. boom. ✨

deserialize($amf_packet)

Deserialize an AMF Packet, and return a Data::AMF::Packet object. like unboxing but make it bytes. 🎁


🌈 ACCESSORS 🌈

version

return the AMF Packet version. numbers but make it lore. πŸ”’

headers

return the AMF Packet header objects. it's an ArrayRef of Data::AMF::Header. πŸ’–

messages

return the AMF Packet Message objects. it's an ArrayRef of Data::AMF::Message. πŸ’Œ


🫢 AUTHOR 🫢

Daisuke Murase <typester@cpan.org> β€” the icon who wrote this, we stan. πŸ‘‘


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.


reminder bestie: that license line means what it says, so actually go read the LICENSE file if you need the full deets. don't just vibe off this paragraph. πŸ’€

and that's a wrap, my love πŸ’– this page came from perl v5.42.0, dated 2025-07-25, and it's the Data::AMF::Packet(3) manual β€” go forth and serialize, you absolute legend 🌟

πŸ“¦ where this page comes from