📜  从文件 c# 代码示例返回流

📅  最后修改于: 2022-03-11 14:49:04.151000             🧑  作者: Mango

代码示例1
private void Test()
{            
    System.IO.MemoryStream data = new System.IO.MemoryStream(TestStream());

    byte[] buf = new byte[data.Length];
    data.Read(buf, 0, buf.Length);                       
}