Data::AMF::Packet(3)
π 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::AMFCatalyst::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. π
π 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.
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
- fedora 43: perl-Data-AMF 0.09-41.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms