The StreamFactory type exposes the following members.

Methods

  NameDescription
BinReader
Creates and returns a BinaryReader Object using stream as source
BinWriter
Creates and returns a BinaryWriter Object using stream as source
CreateFile
Open FileName as a new FileStream. If file exists it will be overridens. (another process cannot write to the stream)
CreateMemoryStream
Create and returns a memory stream object
CustomTextReader
Creates and returns a Custom Object using stream as source (Psotion is well updated)
OpenReadFile
Open FileName as FileStream with ReadOnly rights. (another process cannot write to the stream)
OpenWriteFile
Open FileName as FileStream with Read and Write rights. (another process cannot write to the stream)
StreamWriterToString
Convert content of a StreamWriter into string
TextReader
Creates and returns a StreamReader Object using stream as source
TextWriter
Creates and returns a StreamWriter Object using stream as source

See Also