doFinal

fun doFinal(): Long(source)

Resets the CharPreProcessor and returns the final UTF-8 byte size of all accumulated input.

Throws

If an invalid character sequence is encountered and the strategy is ReplacementStrategy.THROW.