网站综合信息 args.cn
    • 标题:
    • RIA Args | my blog,but share with you~ 
    • 关键字:
    •  
    • 描述:
    •  
    • 域名信息
    • 域名年龄:18年4个月18天  注册日期:2007年03月10日  到期时间:2015年03月10日
      邮箱:medcl  电话:
      注册商:北京新网互联科技有限公司 
    网站收录SEO数据
    • 搜索引擎
    • 收录量
    • 反向链接
    • 其他
    • 百度
    • 3,500  
    • 1,930  
    • 快照:2013-09-04  
    • Google
    • 11,400  
    • 1  
    • pr:0  
    • 雅虎
    • 52  
    •  
    •  
    • 搜搜
    • 0  
    •  
    •  
    • 搜狗
    • 88  
    •  
    • 评级:1/10  
    • 360搜索
    • 620  
    •  
    •  
    域名流量Alexa排名
    •  
    • 一周平均
    • 一个月平均
    • 三个月平均
    • Alexa全球排名
    • -  
    • 平均日IP
    • 日总PV
    • 人均PV(PV/IP比例)
    • 反向链接
    • dmoz目录收录
    • -  
    • 流量走势图
    域名注册Whois信息

    args.cn

    域名年龄: 18年4个月18天
    注册时间: 2007-03-10
    到期时间: 2015-03-10
    注 册 商: 北京新网互联科技有限公司
    注册邮箱: medcl

    获取时间: 2014年10月29日 17:02:05
    Domain Name: args.cn
    ROID: 20070310s10001s32409211-cn
    Domain Status: ok
    Registrant ID: ct5nxl8y9ulec1b
    Registrant: 曾勇
    Registrant Contact Email: medcl
    Sponsoring Registrar: 北京新网互联科技有限公司
    Name Server: f1g1ns1.dnspod.net
    Name Server: f1g1ns2.dnspod.net
    Registration Date: 2007-03-10 12:29:25
    Expiration Date: 2015-03-10 12:29:25
    DNSSEC: unsigned
    其他后缀域名
    • 顶级域名
    • 相关信息
    网站首页快照(纯文字版)
    抓取时间:2014年10月29日 17:02:12
    网址:http://args.cn/
    标题:RIA Args | my blog,but share with you~
    关键字:
    描述:
    主体:
    RIA Argsmy blog,but share with you~AboutGuestBook-AS3的Base64编码和解码Posted by wpm on Aug 26, 2011 in ActionScript, Articles, Flash, Tutorials 最近要做一个将flash截的图传给js显示的功能,然后需要解决将图片数据转换成Base64编码格式,同事帮忙在网上找到了这个很有用的Base64编码和解码的类。很好用。记录一下。参考链接:http://www.cordyblog.cn/?action=show&id=49调用代码:import com.dynamicflash.utils.Base64;//编码和解码字符串var source:String = "Hello, world";var encoded:String = Base64.encode(source);trace(encoded);var decoded:String = Base64.decode(encoded);trace(decoded);//编码和解码ByteArrayvar obj:Object= {name:"Dynamic Flash",url:"http://dynamicflash.com"};var source:ByteArray = new ByteArray();source.writeObject(obj);var encoded:String = Base64.encodeByteArray(source);trace(encoded);var decoded:ByteArray = Base64.decodeToByteArray(encoded);obj = decoded.readObject();trace(obj.name + "(" + obj.url + ")");Base64类代码:package com.dynamicflash.util{   import flash.utils.ByteArray;   public class Base64 {   private static const BASE64_CHARS:String = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";   public static const version:String = "1.0.0";   public static function encode(data:String):String {// Convert string to ByteArrayvar bytes:ByteArray = new ByteArray();bytes.writeUTFBytes(data);   // Return encoded ByteArrayreturn encodeByteArray(bytes);}   public static function encodeByteArray(data:ByteArray):String {// Initialise outputvar output:String = "";   // Create data and output buffersvar dataBuffer:Array;var outputBuffer:Array = new Array(4);   // Rewind ByteArraydata.position = 0;   // while there are still bytes to be processedwhile (data.bytesAvailable > 0) {// Create new data buffer and populate next 3 bytes from datadataBuffer = new Array();for (var i:uint = 0; i < 3 && data.bytesAvailable > 0; i++) {dataBuffer[i] = data.readUnsignedByte();}   // Convert to data buffer Base64 character positions and// store in output bufferoutputBuffer[0] = (dataBuffer[0] & 0xfc) >> 2;outputBuffer[1] = ((dataBuffer[0] & 0x03) << 4) | ((dataBuffer[1]) >> 4);outputBuffer[2] = ((dataBuffer[1] & 0x0f) << 2) | ((dataBuffer[2]) >> 6);outputBuffer[3] = dataBuffer[2] & 0x3f;   // If data buffer was short (i.e not 3 characters) then set// end character indexes in data buffer to index of '=' symbol.// This is necessary because Base64 data is always a multiple of// 4 bytes and is basses with '=' symbols.for (var j:uint = dataBuffer.length; j < 3; j++) {outputBuffer[j + 1] = 64;}   // Loop through output buffer and add Base64 characters to// encoded data string for each character.for (var k:uint = 0; k < outputBuffer.length; k++) {output += BASE64_CHARS.charAt(outputBuffer[k]);}}   // Return encoded datareturn output;}   public static function decode(data:String):String {// Decode data to ByteArrayvar bytes:ByteArray = decodeToByteArray(data);   // Convert to string and returnreturn bytes.readUTFBytes(bytes.length);}   public static function decodeToByteArray(data:String):Byte

    © 2010 - 2020 网站综合信息查询 同IP网站查询 相关类似网站查询 网站备案查询网站地图 最新查询 最近更新 优秀网站 热门网站 全部网站 同IP查询 备案查询

    2025-07-22 09:30, Process in 0.0170 second.