Initializer
init(data:filename:)
Creates a new
File.init(data: ByteBuffer, filename: String)
Parameters
dataThe file’s contents.
filenameThe name of the file, not including path.
Discussion
let file = File(data: "hello", filename: "foo.txt")