文件字节 [英] file bytes

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

问题描述

嗨小伙伴

请在我的命令行(Microsoft visual studio 15)上输入dir,它为我的文件说了46个字节。我已经计算了我的文件中的字符数,而不是最多46个。命令提示符是如何达到46

please I entered dir, on my command line(Microsoft visual studio 15), and it said 46 bytes, for my file. I've counted the number of characters, in my file, and its not up to 46. how did the command prompt arrive at 46

欢呼

推荐答案

字节和字符不同。例如,UTF-16字符可以是2或4个字节。
bytes and chars are different. for example, a UTF-16 character could be 2 or 4 bytes.


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

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