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)

Syntax

'Declaration
Public Property InputStreamBufferSize As Integer
    Get
    Set
'Usage
Dim instance As TextConverter
Dim value As Integer

value = instance.InputStreamBufferSize

instance.InputStreamBufferSize = value
public int InputStreamBufferSize { get; set; }

Property Value

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

Remarks

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.