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, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic