Reading From a Binary File C++

您所在的位置:网站首页 brrazzs Reading From a Binary File C++

Reading From a Binary File C++

#Reading From a Binary File C++| 来源: 网络整理| 查看: 265

There is no function "readLittleEndian" in your code.  Your function "readBufferLittleEndian" does reverse the order of the bytes and under normal conditions will convert a 4-byte little-endian value into uint64_t.

Be aware that the uint64_t value produced need not be big-endian.  Consider a buffer containing four bytes 0x11, 0x22, 0x44, and 0x88 in that order.  Note that the



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3