如何將VBNET字符串轉(zhuǎn)換成字節(jié)數(shù)組?
Dim s As String = "123456"'獲取數(shù)組Dim b As Byte() = Encoding.ASCII.GetBytes(s)'顯示 Dim v As ByteFor Each v In b Debug.Print(v)Next
如何將VBNET字符串轉(zhuǎn)換成字節(jié)數(shù)組?
Dim s As String = "123456"'獲取數(shù)組Dim b As Byte() = Encoding.ASCII.GetBytes(s)'顯示 Dim v As ByteFor Each v In b Debug.Print(v)Next