Home  >  Article  >  Backend Development  >  unity3d - 有没有C#(unity)与php对称的压缩算法?

unity3d - 有没有C#(unity)与php对称的压缩算法?

WBOY
WBOYOriginal
2016-06-06 20:34:281417browse

最近开发游戏项目客户端使用unity,而服务器端使用php,想压缩一下客户端与服务器之间传输的通讯数据量。
请问unity里有哪些可用的压缩解压缩算法?php端有对称的压缩解压缩api可用吗?
谢谢~

回复内容:

最近开发游戏项目客户端使用unity,而服务器端使用php,想压缩一下客户端与服务器之间传输的通讯数据量。
请问unity里有哪些可用的压缩解压缩算法?php端有对称的压缩解压缩api可用吗?
谢谢~

如果是单纯的传数据,而不是rpc,常用的zip、gzip、lzo两端都支持吧。当然压缩算法应该是不包含在unity里,而是通用的库。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn