开发者

How to perform encoding of a wave file into base64 encoding in AS3

I need to perform e开发者_如何学运维ncoding of a wav file into base64...


You can use the mx.utils.Base64Encoder (see http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/utils/Base64Encoder.html). First you need to convert your wav into a bytearray and then use Base64Encoder.encodeBytes().


An even faster version here: http://www.sociodox.com/base64.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜