Table of Contents

Class AsyncStreamReaderOptions

Namespace
Cuemon.IO
Assembly
Cuemon.IO.dll

Configuration options for StreamReader.

public class AsyncStreamReaderOptions : AsyncStreamEncodingOptions, IAsyncOptions, IParameterObject, IEncodingOptions
Inheritance
AsyncStreamReaderOptions
Implements
Inherited Members

Constructors

AsyncStreamReaderOptions()

Initializes a new instance of the AsyncStreamReaderOptions class.

public AsyncStreamReaderOptions()

Remarks

The following table shows the initial property values for an instance of AsyncStreamReaderOptions.

PropertyInitial Value
PreambleDefaultPreambleSequence
EncodingDefaultEncoding
BufferSize81920

Properties

BufferSize

Gets or sets the size of the buffer.

public int BufferSize { get; set; }

Property Value

Int32

The size of the buffer.

Exceptions

ArgumentOutOfRangeException

value is lower than or equal to 0.