当前位置:首页 > windos > 正文

c# 读取blob数据

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