Click or drag to resize

IStreamer Interface

An implementation of this class must be created for each type of backing storage that can be processed as streams. Current implementations are for the file-system, Azure Blob storage and a list of strings.

Namespace: RCS.Carbon.Variables
Assembly: RCS.Carbon.Variables (in RCS.Carbon.Variables.dll) Version: 9.0.12
Syntax
C#
public interface IStreamer : IDisposable

The IStreamer type exposes the following members.

Properties
 NameDescription
Public propertyIsEOF True if the stream is at end-of-file.
Top
Methods
 NameDescription
Public methodClose Closes any open streams. Internally it safely calls Dispose.
Public methodCopy Copies the contents of one Blob or file to another one.
Public methodListLines Iterates over the lines in a text stream.
Public methodOpenAppend Opens the stream for append writing.
Public methodOpenRead Opens the stream for reading.
Public methodOpenWrite Opens the stream for writing. Any existing data is overwritten.
Public methodOpenZipRead Opens a zip stream for reading.
Public methodReadLine Reads a text line from the current position of the stream.
Public methodReadToEnd Reads all text from the curent position of the stream to the end.
Public methodSize Gets the size of the stream.
Public methodWrite Writes a string to the stream.
Public methodWriteLine Write a string to the stream, terminated by the appropriate line terminator for the current operating system (CRLF for Windows, LF for Linux, etc).
Top
See Also