你可以将b 中有用的内容拷贝到另外的byte[] 中啊,比如: FileStream stream; int length = stream.Read(byte[] b, 0, b.Length); byte[] dest = new byte[length]; ...
確定! 回上一頁