Returns a custom implementation of IC1StreamReader.

Namespace: Composite.Core.IO.Plugins.IOProvider
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
IC1StreamReader CreateStreamReader(
	Stream stream,
	Encoding encoding,
	bool detectEncodingFromByteOrderMarks,
	int bufferSize
)
Visual Basic
Function CreateStreamReader ( _
	stream As Stream, _
	encoding As Encoding, _
	detectEncodingFromByteOrderMarks As Boolean, _
	bufferSize As Integer _
) As IC1StreamReader
Visual C++
IC1StreamReader^ CreateStreamReader(
	Stream^ stream, 
	Encoding^ encoding, 
	bool detectEncodingFromByteOrderMarks, 
	int bufferSize
)

Parameters

stream
Type: System.IO..::..Stream
Stream to read from.
encoding
Type: System.Text..::..Encoding
Encoding to use when reading.
detectEncodingFromByteOrderMarks
Type: System..::..Boolean
If true, encoding will be detected from the file stream.
bufferSize
Type: System..::..Int32
Buffer size to use when reading.

Return Value

Returns a custom implementation of IC1StreamReader.

See Also