摘要:
类名抽象类父类功能ContentResult根据内容的类型和编码,数据内容.EmptyResult空方法.FileResultabstract写入文件内容,具体的写入方式在派生类中.FileContentResultFileResult通过 文件byte[] 写入文件.FilePathResultF... 阅读全文
posted @ 2015-05-07 14:55
ICupid
阅读(287)
评论(0)
推荐(0)
摘要:
/// /// 将 Stream 转成 byte[]/// /// /// public static byte[] StreamToBytes(Stream stream){ byte[] bytes = new byte[stream.Length]; stream.Read(byt... 阅读全文
posted @ 2015-05-07 14:51
ICupid
阅读(385)
评论(0)
推荐(0)

浙公网安备 33010602011771号