Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Looking for a good C++ library for parsing AMF3 [closed]

What's a good C++ library for parsing AMF3?

like image 910
Lenar Avatar asked Sep 08 '11 13:09

Lenar


1 Answers

Based on some simple research, libamfx doesn't support AMF3 and amf3cplusplus isn't a complete implementation of the specs, although it may work for your needs. There don't appear to be any pure-C libraries, so the next place to look would be C language extensions.

There is a fully functional AMF implementation in C for PHP (AMFEXT), a C implementation for Python (PyAMF), one for Objective-C (Cocoa-AMF), and one for Ruby (RocketAMF). However, none of these are going to be drop-in solutions.

Your best bet would be to try out amf3cplusplus and see if it does what you want. If it doesn't, RocketAMF is probably going to be the easiest to use as a starting point, in terms of readability and replacing the language-specific code with C++ data structures.

like image 141
warhammerkid Avatar answered Nov 14 '22 22:11

warhammerkid