寻找一个好的C ++库来解析AMF3 [英] Looking for a good C++ library for parsing AMF3

查看:427
本文介绍了寻找一个好的C ++库来解析AMF3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是用于解析AMF3的好的C ++库?

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

推荐答案

基于一些简单的研究, libamfx 不支持AMF3和 amf3cplusplus 不是一个完整的规范实现,虽然它可能适合您的需求。没有任何纯C库,所以接下来的地方看是C语言扩展。

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.

在C中有一个完全功能的AMF实现PHP( AMFEXT ),Python的C实现( PyAMF ),一个用于Objective-C( Cocoa-AMF ),一个用于Ruby( RocketAMF )。但是,这些都不是解决方案。

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.

最好的办法是试试amf3cplusplus,看看是否能满足你的要求。如果没有,RocketAMF可能是最容易使用的起点,在可读性和用C ++数据结构替换语言特定的代码。

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.

这篇关于寻找一个好的C ++库来解析AMF3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆