ConvertDataTypes
.com
Convert data types programming in one click !
Languages :
C
-
C++
-
Objective C
-
Java
-
JavaScript
-
Python
-
C#
-
VB
-
VB.net
Convert :
Boolean
Byte
Byte()
Char
Decimal
Double
Integer
Long
SByte
Short
Single
String
UInteger
ULong
UShort
To :
Boolean
Byte
Byte()
Char
Decimal
Double
Integer
Long
SByte
Short
Single
String
UInteger
ULong
UShort
Convert
Byte()
to
String
in
VB.net
84924 hits
Dim vIn() As Byte = new Byte(){"F","O","O"}
Dim vOut As String = System.Text.Encoding.UTF8.GetString(vIn)
'Note : if the Byte array is encoded with another encoding,
'replace UTF8 by :
'System.Text.Encoding.ASCII;
'System.Text.Encoding.BigEndianUnicode;
'System.Text.Encoding.Unicode;
'System.Text.Encoding.UTF32;
'System.Text.Encoding.UTF7;
'System.Text.Encoding.UTF8;
'System.Text.Encoding.Default : based on the Windows API GetACP
'which returns the Windows ANSI code page identifier for the
'operating system
The most viewed convertions in VB.net