UTF7Encoding: GetBytes

GetBytes

Encodes a set of characters into an array of bytes.



 Public Function GetBytes(
	  ByRef Chars As Variant,
	  Optional ByRef Index As Variant,
	  Optional ByRef Count As Variant ) As Byte ( )

Parameters

Chars
[ByRef] Variant. The set of characters to be encoded into an array of bytes. This can be either an Integer array or a String.
Index
[ByRef] Optional. Variant. The index of the first character to begin encoding from.
Count
[ByRef] Optional. Variant. The number of characters to be encoded.

Return Values

Byte() -  A byte array containing the encoded characters as bytes.

Remarks

The Chars parameter will accept either a String or an Integer array. The Index is zero based for both the String and Integer array, not 1 based like Mid$.

See Also

Project CorLib Overview

Class UTF7Encoding Overview