学习flex开发需要掌握的入门知识
2013-12-20 16:33
330 查看
学习flex开发有别于学习其他的软件或者是操作系统知识内容,因为flex开发本身是既涉及到了flex的一些专业知识内容,但是同时又和相关的一些软件操作有一定的关联。而要想使得自己在完成flex开有关的操作的时候能够达到好的操作效果,那么自己在操作flex开发的似乎务必要注意掌握一些flex开发的基础入门知识,比如说:
std::string CBackupMbdb::smethod10(CBinaryReader& reader)
{
std::string strResult ;
byte num = reader.ReadByte();
byte num2 = reader.ReadByte();
if ((num == 0xff) && (num2 == 0xff))
{
return strResult;
}
int num6 = (num * 0x100) + num2;
CAutoVectorPtr<byte> pBuffer;
pBuffer.Allocate(num6);
reader.Read(pBuffer.m_p,num6);
int index = 0;
index = 0;
while (index < num6)
{
if ((pBuffer.m_p[index] < 0x20) || (pBuffer.m_p[index] >= 0x80))
{
break;
}
index++;
}
if (index == num6)
{
strResult = bytes_to_hex_string(pBuffer.m_p,num6);
}
return strResult;
}第五个内容的读取方法和第四个一样,但是所有的读出来的都是空字符串。
读出固定的40个字节,这40个字节里面包含的信息很多,不过大部分都是不需要的,只有一个字段是重要的,这个字段会影响后面的文件读取。
CAutoVectorPtr<byte> pRecordInfo;
pRecordInfo.Allocate(40);
reader.Read(pRecordInfo.m_p,40);
//0x27 也就是最后的位置保存了这个项的属性个数,要用这个数字循环读出属性来。
itemInfo.PropertyCount = pRecordInfo[0x27];
for (int i=0;i<itemInfo.PropertyCount;i++)
{
CAtlStringA key = ReadNextStringBy2bytesLen(reader).c_str();
CAtlStringA value = smethod10(reader).c_str();
itemInfo.Properties[key] = value;
}
根据第一步和第二步得出来的域和路径计算SHA1值,这个哈希值也就是本地的路径。
std::string strHash1Src;
if (itemInfo.Path.IsEmpty())
{
str
以上的flex开发需要掌握的基础入门知识仅仅只是flex开发的一部分。大家要想学好flex开发,自己还会需要查看大量的相关专业资料,从而帮助自己掌握以及了解关于flex开发的知识内容。帮助自己掌握flex开发的理论性知识同时又熟练的掌握flex开发的操作技术。
文章来自:天地会http://bbs.9ria.com/thread-102917-1-1.html
std::string CBackupMbdb::smethod10(CBinaryReader& reader)
{
std::string strResult ;
byte num = reader.ReadByte();
byte num2 = reader.ReadByte();
if ((num == 0xff) && (num2 == 0xff))
{
return strResult;
}
int num6 = (num * 0x100) + num2;
CAutoVectorPtr<byte> pBuffer;
pBuffer.Allocate(num6);
reader.Read(pBuffer.m_p,num6);
int index = 0;
index = 0;
while (index < num6)
{
if ((pBuffer.m_p[index] < 0x20) || (pBuffer.m_p[index] >= 0x80))
{
break;
}
index++;
}
if (index == num6)
{
strResult = bytes_to_hex_string(pBuffer.m_p,num6);
}
return strResult;
}第五个内容的读取方法和第四个一样,但是所有的读出来的都是空字符串。
读出固定的40个字节,这40个字节里面包含的信息很多,不过大部分都是不需要的,只有一个字段是重要的,这个字段会影响后面的文件读取。
CAutoVectorPtr<byte> pRecordInfo;
pRecordInfo.Allocate(40);
reader.Read(pRecordInfo.m_p,40);
//0x27 也就是最后的位置保存了这个项的属性个数,要用这个数字循环读出属性来。
itemInfo.PropertyCount = pRecordInfo[0x27];
for (int i=0;i<itemInfo.PropertyCount;i++)
{
CAtlStringA key = ReadNextStringBy2bytesLen(reader).c_str();
CAtlStringA value = smethod10(reader).c_str();
itemInfo.Properties[key] = value;
}
根据第一步和第二步得出来的域和路径计算SHA1值,这个哈希值也就是本地的路径。
std::string strHash1Src;
if (itemInfo.Path.IsEmpty())
{
str
以上的flex开发需要掌握的基础入门知识仅仅只是flex开发的一部分。大家要想学好flex开发,自己还会需要查看大量的相关专业资料,从而帮助自己掌握以及了解关于flex开发的知识内容。帮助自己掌握flex开发的理论性知识同时又熟练的掌握flex开发的操作技术。
文章来自:天地会http://bbs.9ria.com/thread-102917-1-1.html
相关文章推荐
- flex开发小技巧集锦
- 分享:Flex倒映效果组件
- Android 下保持屏幕常亮的实现方法
- 10 cocos2d-x 按钮 CCControlButton
- Java程序员这个职业赚钱吗?能赚多少钱?
- 2010新编中国顶级黑客圈内人物资料和QQ,微博以及博客详解
- 使用命令生成一个组织机构的CRUD功能(包括单位和部门)
- 网页右键ContextMenu
- 【九度】题目1460:Oil Deposit
- C++ 哈希表 (hashtable) 用于保存简单的数据,及数据查找,数据删除
- ch03-文字版面的设计
- xp系统下载SCSI硬盘的安装、启动、设置教程
- 部署PHP项目应该注意的几点事项分享
- Android实现网络多线程断点续传下载
- MySQL Base Configration Instructions
- Android SDK Android NDK 官方下载地址
- EF6链接mysql配置
- SQL Server 监控系列(文章索引)
- ch02-HTML的基本概念
- c# Word 模版 打印