Unicode Controls & Classes for VB6 - Version 4

clsBase64.AnsiStr2ByteArray Method

Gets a byte array from a string managed as it was Ansi (1 byte for char)

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