dahid84 5 Posted October 6, 2014 Report Share Posted October 6, 2014 if there is a possibility to write the following function (action script 3) in Ubot public function decode (_arg1: String): String { var _local2: * = new ByteArray (); _local2 = Base64.decodeToByteArray (_arg1); _local2.uncompress (); var _local3 * = _local2.readUTFBytes (_local2.length); return (_local3); } var _local4: * = decode (unescape (_local3.msg)); Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted October 6, 2014 Report Share Posted October 6, 2014 not directly with ubot. but with javascript yes.using the javascript inside of a $eval function that is placed inside of a set variablehttp://updates.html5rocks.com/2012/06/How-to-convert-ArrayBuffer-to-and-from-String shows how to do it with regular javascript.but as3 might be possible as well. havent tested. Quote Link to post Share on other sites
dahid84 5 Posted October 7, 2014 Author Report Share Posted October 7, 2014 i try to create function in java script but i can't find similar function uncompress Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.