new buffer.File(sources, fileName[, options])
sources<string[]> | <ArrayBuffer[]> | <TypedArray[]> | <DataView[]> | <Blob[]> | <File[]> 将存储在File中的字符串数组、<ArrayBuffer>、<TypedArray>、<DataView>、<File> 或 <Blob> 对象,或此类对象的任意组合。fileName<string> 文件名。options<Object>
sources<string[]> | <ArrayBuffer[]> | <TypedArray[]> | <DataView[]> | <Blob[]> | <File[]> An array of string, <ArrayBuffer>, <TypedArray>, <DataView>, <File>, or <Blob> objects, or any mix of such objects, that will be stored within theFile.fileName<string> The name of the file.options<Object>endings<string> One of either'transparent'or'native'. When set to'native', line endings in string source parts will be converted to the platform native line-ending as specified byrequire('node:os').EOL.type<string> The File content-type.lastModified<number> The last modified date of the file. Default:Date.now().