Decoder: GetCharCount |
Returns the number of characters a block of bytes can produce.
Public Function GetCharCount( ByRef Bytes ( ) As Byte, ByVal Index As Long, ByVal Count As Long, Optional ByVal Flush As Boolean ) As Long
GetCharCount itself does not store state between method calls, but it will use any stored state from a previous call to GetChars. Typically you would call this method immediately before calling GetChars.
Call with Flush equals True when then last chunk of data is being processed. This will ensure any characters that would normally have been stored as state for the next call will be processed during this call. No state is ever stored by this method, but any hanging characters need to be processed instead of being ignored.