📅  最后修改于: 2022-03-11 14:48:56.452000             🧑  作者: Mango
代码示例1
public static MemoryStream GenerateStreamFromString(string value)
{
return new MemoryStream(Encoding.UTF8.GetBytes(value ?? ""));
}