Copies the output of a reader into a wrtter.

Declaration Syntax

Public Shared Sub CopyTextStreams( _
	ByVal reader As TextReader, _
	ByVal writer As TextWriter, _
	ByVal blockSize As Integer _
)
public static void CopyTextStreams(
	TextReader reader, 
	TextWriter writer, 
	int blockSize
);
public: static void CopyTextStreams(
	TextReader reader, 
	TextWriter writer, 
	int blockSize
);
public static function CopyTextStreams(
	reader : TextReader, 
	writer : TextWriter, 
	blockSize : int
);

Parameters

reader
The System.IO.TextReader from which contents will be read. 
writer
The System.IO.TextWriter to which contents will be written. 
blockSize
The number of characters to copy at one time. 

Remarks

A larger block size will mean less calls to the underlying reader and writer but it will use more memory.

Requirements

Namespace: Eas.WebCrawler.Common.IO
Assembly: Eas.WebCrawler.Common (eas.webcrawler.common.dll)

See Also

StreamCopier Class | StreamCopier Members | Eas.WebCrawler.Common.IO Namespace