首页 > 技术文章 > c# 读取blob数据

gaara-zhang 2018-09-26 10:26 原文

            Stream stream = new MemoryStream(data);
            BinaryReader r = new BinaryReader(stream);
            int iRawImageWidth = r.ReadInt32();//读取图像的宽度
            int iRawImageHeight = r.ReadInt32();//读取图像的高度

 

推荐阅读