Base64Tool 类 看里面方法
public static function encodeByte(byte:ByteEx, start:int = 0, end:int = -1):String
{
if (end < 0)
{
end = byte.length;
}
return encode(byte.buffer.slice(start,end));
}
/**
* 解码成Byte
* @param base64
* @return
*
*/
public static function decodeToByte(base64:String):ByteEx
{
return new ByteEx(decode(base64));
}