Decoder: GetChars

GetChars

Returns the decoded unicode characters from a block of bytes.



 Public Function GetChars(
	  ByRef Bytes ( ) As Byte,
	  ByVal ByteIndex As Long,
	  ByVal ByteCount As Long,
	  ByRef Chars ( ) As Integer,
	  ByVal CharIndex As Long ) As Long

Parameters

Bytes
[ByRef] Byte. The bytes to be used in decoding to characters.
ByteIndex
[ByVal] Long. The starting index to begin decoding bytes into characters.
ByteCount
[ByVal] Long. The number of bytes to be used in the decoding process.
Chars
[ByRef] Integer. The output array for the decoded unicode characters.
CharIndex
[ByVal] Long. The starting index in the array to begin storing characters.

Return Values

Long -  The number of characters actually decoded.

Remarks

See Also

Project VBCorLib Overview Class Decoder Overview Decoder Properties Decoder Methods GetCharCount GetHashCode