Name |
saveStream()保存流文件 |
||||
Examples |
|||||
Description |
Save the contents of a stream to a file in the sketch folder. This is basically saveBytes(blah, loadBytes()), but done more efficiently (and with less confusing syntax). The target parameter can be either a String specifying a file name, or, for greater control over the file location, a File object. (Note that, unlike some other functions, this will not automatically compress or uncompress gzip files.) 将流的内容保存到草绘文件夹中的文件中。这基本上是 saveBytes (废话, loadBytes ()), 但做得更有效率 (和较少混淆的语法)。
目标参数可以是指定文件名的字符串, 或者是用于对文件位置进行更大控制的文件对象。(请注意, 与其他一些函数不同, 这不会自动压缩或解压缩 gzip 文件。 |
||||
Syntax |
saveStream(target, source) |
||||
Parameters |
|
||||
Returns |
boolean or void |
||||
Related |
- 本文固定链接: http://iprocessing.cn/2017/08/02/savestream保存流文件/
- 转载请注明: 卡萨布兰卡 于 Processing编程艺术 发表