Create a charset filter to convert text from the source encoding into the target encoding.
The source encoding name, code page, or charset encoding.
The target encoding name, code page, or charset encoding.
ReadonlysourceThe source charset encoding.
ReadonlytargetThe target charset encoding.
Protected OptionaloutputThe reusable output buffer used by this filter.
ProtectedfilterFilter the specified input buffer.
The input buffer.
The starting index of the input buffer.
The length of the input buffer, starting at startIndex.
Whether all internally buffered data should be flushed to the output buffer.
The filtered output range.
Reset the filter.
Filter the specified input buffer.
The input buffer.
The starting index of the input buffer.
The number of bytes of input to filter.
The filtered output range.
Filter the specified input buffer, flushing all internally buffered data to the output.
The input buffer.
The starting index of the input buffer.
The number of bytes of input to filter.
The filtered output range.
ProtectedsaveSave the remaining input for the next round of processing.
The input buffer.
The starting index of the buffer to save.
The length of the buffer to save, starting at startIndex.
ProtectedensureEnsure that the output buffer is at least the specified size.
The minimum size needed.
Whether the current output should be preserved.
The output buffer.
A charset filter for incrementally converting text streams from one charset encoding to another.