Create a filter that converts Unix line endings to Windows/DOS line endings.
Whether to ensure that the stream ends with a new line.
Protected OptionaloutputThe reusable output buffer used by this 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.
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.
A filter that converts Unix line endings to Windows/DOS line endings.