MemoryStreamExtensions.AsString

Returns the content of the stream as a string

public static string AsString(MemoryStream ms,
	Encoding encoding)

Parameters

ms
Memory stream

encoding
Encoding to use - defaults to Unicode


See also:

Class MemoryStreamExtensions

© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic