Namespace: Assorted.Utils.Text
Assembly: Assorted.Utils (Assorted.Utils.dll) version 1.1.0.0
Implements: IDisposable
Inheritance: object→
MarshalByRefObject→
Stream→
MemoryStream→
StringStream
Creates a stream whose backing store is string.
public class StringStream : MemoryStream, IDisposable
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. |
Property | Description |
---|---|
Encoding | Gets the text encoding in which the output is written. |
Method | Description |
---|---|
ToString() | Returns a string containing the characters written to the current stream so far. |
Any public static member of this type is thread-safe, but instance members are not guaranteed to be thread-safe.
This document is generated by DG.