C# Class GSF.IO.UltraStreamWriter

Represents an ultra high speed way to write data to a stream. StreamWriter's methods can be slow at times.
显示文件 Open project: GridProtectionAlliance/openHistorian Class Usage Examples

Public Methods

Method Description
UltraStreamWriter ( StreamWriter stream ) : System

Creates a UltraStreamWriter around Stream

Write ( char value ) : void

Writes the provided character to the stream

Write ( float value ) : void

Writes the provided float to the stream

WriteLine ( ) : void

Writes a NewLine to the stream

Private Methods

Method Description
Flush ( ) : void

Method Details

UltraStreamWriter() public method

Creates a UltraStreamWriter around Stream
public UltraStreamWriter ( StreamWriter stream ) : System
stream System.IO.StreamWriter The stream to wrap
return System

Write() public method

Writes the provided character to the stream
public Write ( char value ) : void
value char the character to write.
return void

Write() public method

Writes the provided float to the stream
public Write ( float value ) : void
value float the value to write.
return void

WriteLine() public method

Writes a NewLine to the stream
public WriteLine ( ) : void
return void