Unicode Controls & Classes for VB6 - Version 4

clsBase64.UnicodeStr2ByteArray Method

Gets a byte array from a string managed as Unicode (2 bytes for char)

Syntax
Public Sub UnicodeStr2ByteArray (ByRef sStringIn As String, _
ByRef aByteArray As Byte())
Parameters
Parameter Description
ByRef sStringIn As String The source string
ByRef aByteArray As Byte() The destination byte array (auto sized)
Remarks