摘要: 接收short,将其分成两个char写入文件 void WriteU16(std::ostream& file, short val) { char bytes[2]; // extract the individual bytes from our value bytes[0] = (val) & 0xFF; // low byte bytes[1] = ... 阅读全文
posted @ 2016-06-01 08:16 elninovt9 阅读(1741) 评论(0) 推荐(0)