0
点赞
收藏
分享

微信扫一扫

语法基础:std::ofstream 读取文件

视频点播数据接收,保存代码片段

  static std::ofstream ofstreamHanle;
static bool bFirst = true;
if (bFirst)
{
ofstreamHanle.open("F:/videoOutput.h264", std::ios::out | std::ios::binary);
bFirst = false;
}
ofstreamHanle.write((char*)pucBuffer, dwBufSize);
ofstreamHanle.flush();


举报

相关推荐

0 条评论