<PackageReference Include="Relativity.Server.Import.SDK" Version="24000.1.1" />

IStreamWriter

public interface IStreamWriter : IDisposable
Represents an abstract wrapper for the StreamWriter class.
Stream BaseStream { get; }

Gets the underlying stream that interfaces with a backing store.

void Close()

Closes the current StreamWriter object and the underlying stream.

void Flush()

Clears all buffers for the current writer and causes any buffered data to be written to the underlying stream.

void Write(char value)

Writes a character to the stream.

void Write(char[] buffer)

Writes a character array to the stream.

void Write(string value)

Writes a string to the stream.

void Write(bool value)

Writes the text representation of a Boolean value to the text string or stream.

void Write(decimal value)

Writes the text representation of a decimal value to the text string or stream.

void Write(double value)

Writes the text representation of an 8-byte floating-point value to the text string or stream.

void Write(int value)

Writes the text representation of a 4-byte signed integer to the text string or stream.

void Write(long value)

Writes the text representation of an 8-byte signed integer to the text string or stream.

void Write(object value)

Writes the text representation of an object to the text string or stream by calling the ToString method on that object.

void Write(float value)

Writes the text representation of a 4-byte floating-point value to the text string or stream.

void Write(uint value)

Writes the text representation of a 4-byte unsigned integer to the text string or stream.

void Write(ulong value)

Writes the text representation of an 8-byte unsigned integer to the text string or stream.

void Write(string format, object arg0)

Writes a formatted string to the text string or stream, using the same semantics as the Format method.

void Write(string format, object[] arg)

Writes a formatted string to the text string or stream, using the same semantics as the Format method.

void Write(char[] buffer, int index, int count)

Writes a subarray of characters to the text string or stream.

void Write(string format, object arg0, object arg1)

Writes a formatted string to the text string or stream, using the same semantics as the Format method.

void Write(string format, object arg0, object arg1, object arg2)

Writes a formatted string to the text string or stream, using the same semantics as the Format method.

void WriteLine(string format, object[] arg)

Writes out a formatted string and a new line, using the same semantics as Format.

void WriteLine(string value)

Writes out a string and a new line.