How to convert Java code (base64 varint decoding) to PHP?

本小妞迷上赌 提交于 2019-12-13 22:42:18

问题


Edit: Solved it, answer below. In the past week I've been trying to convert some Java code to PHP without any luck. It's a Hearthstone (card game) deck code decoding code (sounds weird...). The code is a base64 string, which uses a lot of varint arrays.

More information here: https://hearthsim.info/docs/deckstrings/

Only Java and C# code is available. Anyone could give some insights on how to convert java code to php?

Any help would be greatly appreciated!


回答1:


The solution to get it working, is to use https://wzrd.in/. In the module, write "deckstring", "latest" version is fine, you get a nice JS file and that's what is needed.



来源:https://stackoverflow.com/questions/44397118/how-to-convert-java-code-base64-varint-decoding-to-php

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!