Stream轉換爲Byte的方法

public static byte[] ReadFully(Stream input) { byte[] buffer = new byte[16*1024]; using (MemoryStream ms = new MemoryStream()) { int read; while ((read = input.Read(buffer,
相關文章
相關標籤/搜索