GetByteCount
Returns the number of encoded bytes the set of characters would produce.
Public Function GetByteCount(
ByRef Chars ( ) As Integer,
ByVal Index As Long,
ByVal Count As Long,
ByVal Flush As Boolean ) As Long
Parameters
- Chars
-
[ByRef]
Integer.
The set of characters that would be used to produce the encoded bytes.
- Index
-
[ByVal]
Long.
The first character in the array to begin the encoding count.
- Count
-
[ByVal]
Long.
The number of characters to be included in the encoding count.
- Flush
-
[ByVal]
Boolean.
Indicates if the Encoder should maintain state between calls.
Return Values
Long - The number of bytes that would be produced if the character set was encoded.
Remarks
Setting Flush as false allows multiple bytes that are needed to
See Also
Project VBCorLib Overview
| Class Encoder Overview