演示如何读取二进制文件。
作为一个附加的好处,这个示例应用程序也使您能够练习对于所有GAE项目来说均非常重要的一些任务,如写入和读取二进制文件。
As an added benefit, the example application also lets you practice tasks that are key to any GAE project that writes out and serves up binaries.
这些文件的格式都是二进制的;所以,必须使用一种单独的、能够读取和解析其中信息的工具来报告这些信息。
The format of these files is entirely binary; there is no way to report the information without using a separate tool that reads and parses the information.
但是,在某些情况下,例如在处理整数或压缩文件时,需要能够读取和写入二进制数据。
In certain situations, however — for example, when you're working with integers or compressed files — you need to be able to read and write binary data.
在退出编辑器时,命令读取临时文件并修改二进制配额文件以反映修改。
When the editor is exited, the command reads the temporary file and modifies the binary quota files to reflect any changes.
免费的LingfoPython库完成了读取二进制Excel文件这项困难的工作,所以我只费很少的精力编写了一个简短的 Python脚本,为读入的每个单元格产生 RDF三元组。
The free Lingfo Python library does the difficult job of reading binary Excel files, so with little effort I wrote a short Python script that produces an RDF triple for each cell read in.
也可以从文件中直接读取二进制数据。
You can also read binary data directly from a file. The code.
可以用file对象读取数据、写入数据或把数据添加到文件,以及处理二进制或文本数据。
You can use the file object to read data, to write data, to append data to a file, and to work with either binary or textual data.
WebSphere概要同 WebSphere产品的二进制或者系统文件在物理上是分离的,其仅仅被终端用户流程所读取并且不能修改。
The WebSphere profile is physically separate from the WebSphere product binaries, or system files, which are only read by the end user processes and never modified by them.
retrieveFlatFile—从文件(仅二进制文件)中读取内容。
在写完所有数据之后,关闭文件并重新打开文件进行读取,还是使用二进制模式标记。
After you've written all the data, you close the file and reopen it for reading, again using the binary mode flag.
从%files节读取文件列表,将它们收集到一起,然后创建一个二进制rpm(和源rpm文件,如果已选择)。
Reads the list of files from the % files section, gathers them up, and creates a binary RPM (and source RPM files, if you elect).
由于Excel文件包含二进制数据,所以这里使用FileInputStream而不是filereader类,后者读取只包含文本字符的文件。
Because Excel files contain binary data, use FileInputStream instead of the FileReader class, which reads files containing only text characters.
它的功能是打开文件以便在二进制模式内读取一个文件对象,并在整个文件内进行读取。
Opens for reading a file object in binary mode and reads in the entire file.
fread函数与fgets的处理目标略有不同:它趋于从二进制文件(即,并非主要包含人类可阅读的文本的文件)中读取信息。
The fread function serves a slightly different purpose from fgets: It is intended to read from binary files (that is, files that don't consist primarily of human-readable text).
许可证编译器读取包含授权信息的文本文件,并产生一个可作为资源嵌入到公用语言运行时可执行文件中的二进制文件。
The License Compiler reads text files that contain licensing information and produces a binary file that can be embedded in a common language runtime executable as a resource.
许可证编译器读取包含授权信息的文本文件,并产生一个可作为资源嵌入到公用语言运行时可执行文件中的二进制文件。
The License Compiler reads text files that contain licensing information and produces a binary file that can be embedded in a common language runtime executable as a resource.
应用推荐