在命令行中执行的时候,该程序将XML内容从文件读入一个字符串变量。
When executed from a command line, the program reads the XML content from a file into a string variable.
举例来说,Perl程序可以读入包含Perl代码的文本文件。
For example, a Perl program can read in a text file that contains Perl code.
从根本上讲,在程序将数据读入或复制到缓冲区中的任何时候,它需要在复制之前检查是否有足够的空间。
Fundamentally, any time your program reads or copies data into a buffer, it needs to check that there's enough space before making the copy.
应用推荐