MemoryStreamにJSON文字列があります。次のコードを使用して、ASCII文字列として取得しています。
MemoryStream memstream = new MemoryStream();
/* Write a JSON string to memstream here */
byte[] jsonBytes = new byte[memstream.Length];
memstream.Read(jsonBytes, 0, (int)memstream.Length);
string jsonString = Encoding.ASCII.GetString(jsonBytes);
これを行うためのより短い/最短の方法は何ですか?