列表字节

问题描述

我有以下代码来创建一个 .Bin 文件

Dim ImageBytes As New List(Of Byte())
Dim CurrentByte As Byte

For m = 1 To Len(strImageName)
     CurrentByte = Asc(Mid(strImageName,m,1))
     ImageBytes.Add(CurrentByte)
Next

但是,Visual Studio 2019 - VB.net 引发错误

Local Var CurrentChar as byte 无法转换为 ImageBytes()。

我已经搜索解决方案,但没有奏效,他们似乎都出现了同样的错误,所以我在这里发帖希望得到一些帮助。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)