ResourceHandlerGetMemoryStream Method |
Version 130.1.90
Gets a MemoryStream from the given string using the provided encoding
Namespace: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax public static MemoryStream GetMemoryStream(
string text,
Encoding encoding,
bool includePreamble = true
)
public:
static MemoryStream^ GetMemoryStream(
String^ text,
Encoding^ encoding,
bool includePreamble = true
)
Parameters
- text String
- string to be converted to a stream
- encoding Encoding
- encoding
- includePreamble Boolean (Optional)
- if true a BOM will be written to the beginning of the stream
Return Value
MemoryStreamA memory stream from the given string
See Also