Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 2.6 KB

Assorted.Utils.Text.StringStream.md

File metadata and controls

47 lines (31 loc) · 2.6 KB

StringStream Class

Namespace: Assorted.Utils.Text
Assembly: Assorted.Utils (Assorted.Utils.dll) version 1.1.0.0
Implements: IDisposable
Inheritance: objectMarshalByRefObjectStreamMemoryStream StringStream

Creates a stream whose backing store is string.

Syntax

public class StringStream : MemoryStream, IDisposable

Constructors

Constructor Description
StringStream() Initializes a new instance of StringStream class with an expandable capacity using the specified encoding.
StringStream(Encoding) Initializes a new instance of StringStream class with an expandable capacity using the System.Text.Encoding.UTF8 encoding.
StringStream(string) Initializes a new a new non-resizable instance of StringStream class based on the specified string and using the System.Text.Encoding.UTF8 encoding.
StringStream(string, Encoding) Initializes a new a new non-resizable instance of StringStream class based on the specified string and using the specified encoding.

Properties

Property Description
Encoding Gets the text encoding in which the output is written.

Methods

Method Description
ToString() Returns a string containing the characters written to the current stream so far.

Thread Safety

Any public static member of this type is thread-safe, but instance members are not guaranteed to be thread-safe.

See Also


This document is generated by DG.