很多工具将这些字节解释为文件尾或者其他某种特殊的分界符,造成不希望的、未曾预料到的、常常是不愉快的结果。
More than a few tools interpret these bytes as end-of-file or some other special delimiter, with unexpected, unanticipated, and generally unpleasant effects.
下面的示例显示如何读到文件尾。
The following example shows how to read to the end of the file.
这避免了在读取超过文件尾时引发的异常。
This avoids the exception that is thrown if you read past the end of the file.
文件尾不要加入新行。
她从头至尾处理了那一堆文件。
此外还支持在生成的文件中添加相同的页头和页尾。
Out of the box it supports useful things like common headers and footers that are applied to all files in the set.
我已把这文件从头至尾看了三遍,却仍然不解其意。
I have read the document through three times, but I can't make head or tail of it.
例如,普通文件应该有一条尾记录,说明文件中的总记录数,以及关键字段的合计。
For example, flat files should have a trailer record telling the total of records in the file and an aggregate of the key fields.
实际上,带有尾文件压缩功能(默认)的ReiserFS文件系统可以比同等的ext2文件系统多存储6个百分点的数据,这就其自身来说是令人惊叹的。
In fact, a ReiserFS filesystem with tail packing enabled (the default) can store six percent more data than the equivalent ext2 filesystem, which is amazing in itself.
然而,由于在文件被修改时,尾文件压缩迫使ReiserFS重装数据,这就导致了性能上的轻微折损。
However, tail packing does cause a slight performance hit since it forces ReiserFS to repack data as files are modified.
然而,由于在文件被修改时,尾文件压缩迫使ReiserFS重装数据,这就导致了性能上的轻微折损。
However, tail packing does cause a slight performance hit since it forces ReiserFS to repack data as files are modified.
应用推荐