You did not provide a code sample, so I assumed that you meant a String data type to a Byte Array data type. If this is not what you wanted, please use "Improve Question" link above and provide some sample code.
I found the answer via Google.
How to: Convert Strings into an Array of Bytes in Visual[
^]
Private Function UnicodeStringToBytes(
ByVal str As String) As Byte()
Return System.Text.Encoding.Unicode.GetBytes(str)
End Function