StrConv vbFromUnicode vb6 to vb.net


VB6 StrConv vbFromUnicode 升级到 VB.NET

vbcode6:


Dim arrB() As Byte

arrB = StrConv(strEncoded, vbFromUnicode)


vb.net code:

Dim arrB() As Byte

arrB = System.Text.Encoding.Default.GetBytes(strSource.ToCharArray())


你可能感兴趣的:(StrConv vbFromUnicode vb6 to vb.net)