Create an encoder filter using the specified encoder.
A specific encoder for the filter to use.
ReadonlyencoderThe encoder used by this filter.
Protected OptionaloutputThe reusable output buffer used by this filter.
The encoding supported by the encoder.
StaticcreateCreate a filter that will encode using the specified encoding.
The encoding to create a filter for.
OptionalmaxLineLength: number
The maximum number of octets allowed per line, not counting CRLF.
A new encoder filter, or a pass-through filter for unsupported encodings.
Create a filter that will encode using the specified encoding name.
The name of the encoding to create a filter for.
OptionalmaxLineLength: number
The maximum number of octets allowed per line, not counting CRLF.
A new encoder filter, or a pass-through filter for unsupported encodings.
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 filter for encoding MIME content.
Uses a MimeEncoder to incrementally encode data.