标签: vb.net byte
我有字节......
Dim endframe As Byte
现在我知道我可以在该字节中存储0到255之间的数据值。但是我想把它存储到0到500.我可以这样做吗?如果是,那我怎么能做到这一点?
答案 0 :(得分:1)
您不能使用System.Int16(短)data type代替字节类型。
System.Int16
使用StreamWriter or BinaryWriter类方法将数据写入流中。
StreamWriter or BinaryWriter