VB能否把byte数组写入文件
vb吧
全部回复
仅看楼主
level 6
VB能否把byte数组写入文件(比如说[66,80,196,3,25])要求用十六进制查看器能看出你写入的byte数组
2015年03月07日 03点03分 1
level 12

2015年03月07日 05点03分 2
level 6
怎么做
2015年03月07日 05点03分 4
吧务
level 10
byte转为16进制,一组数据占2个字节,直接存文件就行
2015年03月07日 13点03分 5
112233
2015年03月09日 03点03分
level 12
open [address] for binary as 1
put 1,,[array]
close 1
2015年03月07日 15点03分 6
level 11

open “文件名” as #文件号
put #文件号,,文件名
close 文件号
可能有点挫,手机写的
2015年03月07日 16点03分 7
level 11
你打开之后在转换为16进制不就行了
2015年03月07日 16点03分 8
吧务
level 10
2015年03月09日 03点03分 9
1