Class MemoryStreamExtensions

MemoryStream Extension Methods that provide conversions to and from strings

System.Object
  System.IO.MemoryStreamExtensions
public static class MemoryStreamExtensions : object

Class Members

MemberDescription

AsString

Returns the content of the stream as a string

public static string AsString(MemoryStream ms,     Encoding encoding)

FromString

Writes the specified string into the memory stream

public static void FromString(MemoryStream ms,     string inputString,     Encoding encoding)

Requirements

Namespace: System.IO
Assembly: westwind.utilities.dll

© West Wind Technologies, 2019 • Updated: 06/23/19
Comment or report problem with topic