从字符写入二进制 [英] writing from characters to binary

查看:103
本文介绍了从字符写入二进制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么意思是当我们有一些数据参数类型为字符时(例如Characters [6]实例),它表示编码为:7位ASCII,对应字符为NUL ????
我需要将此数据写成5字节大小的二进制文件.

what means when we have some data witch parameter type is characters ( Characters[6] fo instance) and it says that the encoding is : 7-bits ASCII with counterpart with character NUL ????
i need to write this data in binary file on line with 5 bytes of size.

推荐答案

我的意思是二进制文件中6字节的大小不是5
i mean 6 bytes of size not 5 in the binary file


这篇关于从字符写入二进制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆