然后添加一个空格,接着是数据内容的长度,最后是一个空字节 (null byte),接着用这个文件头和真正的内容拼接起来(不是文件名)计算校验和,然后用zlib对数据进行压缩,按照SHA-1 值的头两个字符作为子...
基于26个网页-相关网页
A section delimiter: 0x00 (the null byte).
节定界符:0x00(空字节)。
Another section delimiter: 0x00 (the null byte).
另一个章节分隔符:0x00(空字节)。
The NULL byte is not part of the original posted data that was saved to the database and is causing us some grief.
空字节是不是被保存到数据库中,并导致我们一些悲痛的原贴数据的一部分。
Only the operating system has controlling of byte zero NULL in the computer's RAM and so if a function ever returns null, aka zero, well, something must have gone wrong because that can't possibly belong to me that memory because by human convention zero is owned by the operating system; not by a program I wrote.
只用操作系统在内存中能够控制,字节0,并且如果一个函数返回,或者说0,好的,可能出错了,因为那可能是不属于我的内存,因为惯例上,0是由操作系统拥有的,而不是由我的程序拥有的。
应用推荐