TextConverter.InputStreamBufferSize property

The InputStreamBufferSize property gets or sets the internal input buffer size, in bytes, for stream input.

Namespace:  Microsoft.Exchange.Data.TextConverters
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

public int InputStreamBufferSize { get; set; }

Property value

Type: System.Int32
The actual read buffer size in bytes.

The Convert overloads, and therefore the various converters (such as RtfToHtml) will read from their input streams in chunks that are at most as long as the InputStreamBufferSize property.

The InputStreamBufferSize property can only be set before the converter instance is used for actual conversion.

The default size of the InputStreamBufferSize property is 4096 bytes.