将文件转换成字节数组。
从第一个正则表达式开始,创建一个来自数据文件的记录数组,然后循环执行其余的正则表达式以改进结果。
Starting with the first regular expression, create an array of records from the data file, then loop through the remaining regular expressions to refine the results.
下一步是把要发送的文件转换成字节数组。
The next step is to convert the file that I want to send into a byte array.
对于音调文件中的每个音调,构建音调和时间数组以供匹配。
For each tone in the tone file, build the tonal and temporal arrays for matching.
在文件顶端,为years和countries数组预先加载年份、国家列表及其扫盲值。
At the top of the file, preload the years and countries arrays with the years, and the list of countries and their literacy values.
注意定义文件中type属性的值:元素映射到一个数组,嵌套的映射为简单字符串值。
Notice the values of the type attribute in this definition file: the element is mapped to an array, while the nested s are mapped to simple string values.
每个数组元素都包含了文件中的一行,并在末尾加上了换行符。
Each array element contains a line from the file, with newline still attached.
数组形式的JSON在每一项中均获胜,它文件尺寸最小,下载最快,平均解析时间最短。
JSON formed using arrays wins every category, with the smallest file size, the fastest average download time, and the fastest average parse time.
函数的作用是:以一个数组的形式列出指定路径中的文件和目录。
The scandir() function returns an array of files and directories inside a specified path.
如何将一个大的文本文件的数据转换成一个多维数组?
How to sort a large text file's data into a multi-dimensional array?
可以将文件当作字节数组或流来使用。
指示字节数组或文件中所包含的证书类型。
Indicates the type of certificate contained in a byte array or file.
一个字符串数组,列出了被授予访问权的所有文件。
An array of strings listing all files to which access is given.
例如,FlatFileAdapter不知道其处理的文件的内容,因此将文件内容作为二进制数组进行处理。
For example, the Flat file Adapter is agnostic of the content of the files it processes, and thus, treats the contents of the file as a byte array.
它使用SimpleXML模块读取XML配置文件,并将其解析为php对象,然后,创建一个关联数组,将每个定义的链映射到其名称,以便于查找。
It USES the SimpleXML module to read and parse the XML configuration file into a PHP object, and then creates an associative array mapping each defined chain to its name for easy lookup.
这个数组传递到写入器对象以便写入CSV文件。
This array is passed to the writer object to be written into the CSV file.
根本的缺陷在于,ReadAllLines会暂停程序的运行直到整个文件都被读到字符串数组中。
The fundamental flaw is that ReadAllLines does just that, it pauses the program until the entire file can be read into an array of strings.
在编程语言中,应该使用数组来表示与一个用户相关联的文件。
In a programming language, you would use an array to represent the files associated with a user.
调用readlines方法将文件中的所有行读入一个名为lines的数组。
Call the readlines method to read all the lines in the file into an array called lines.
Phar对象使用ArrayAccessSPL 对象,允许以数组的形式访问归档内容,因此提供了许多方法来向归档添加文件。
The Phar object uses the ArrayAccess SPL object to allow accessing the contents of the archive as an array, so it opens up many ways of adding files to the archive.
执行清单2的代码后,结果是转储整个XML文件,当然是在一个数组中。
When you execute the code in Listing 2, the result is a dump of the complete XML file, in an array, of course.
当Database创建这个文件时,它将其大小设为16KB,并分配数组中的第一个Chunk来进行缓冲。
When the Database creates this file, it sets its size to 16 KB and allocates the first Chunk in the array to buffer.
调用者需要等到方法构建好数组并返回后才能继续执行下面的代码,而一旦目录中含有大量文件时这么做的效率就很低下了。
The caller needs to wait until the method builds the entire array and returns. That induces a performance penalty when the directory happens to contain lots of files.
我们可以认为userdata就是一个字节数组——字节可以表示指针、结构或宿主应用程序中的文件。
You can think of userdata as an array of bytes — bytes that might represent a pointer, a structure, or a file in the host application.
指针指向一个用于接收指定文件大图标的句柄数组。
Pointer to an array of icon handles that receives handles to the large ICONS extracted from the file.
指针指向一个用于接收指定文件小图标的句柄数组。
Pointer to an array of icon handles that receives handles to the small ICONS extracted from the file.
稍后我们将考虑这是如何工作的;目前只是注明它返回KeyManager对象数组,已经利用必需的KeyStore文件和密码对其进行了设置。
We'll worry about how this works later; for the time being simply note that it returns an array of KeyManager objects which have been set up with the required KeyStore file and password.
解析过程中,配置文件中的元素和数据转化成类似PHP关联数组的键-值对。
During this parsing process, the elements and data in the configuration file are converted into key-value pairs, similar to that found in a PHP associative array.
从文件中读取内容的操作是非常直截了当的:我们打开一个文件流对象,创建一个数组来放置数据,最后把所有数据都读到这个数组中。
The operation of reading from a file is very straight forward, we open a file stream, create an array to hold the data, and finally read all the data into the array.
该方法返回一个可以在以后保存到输出文件的字节数组;取决于请求的格式,输出文件可以是图形文件或Excel电子表格。
This method returns a byte array which you can then save to an output file, such as an image file or an Excel spreadsheet, depending on the requested format.
应用推荐