dump function dump(path:String, buffer:Buffer) Write the whole contents of a buffer into a file. path: Path of the file. buffer: The contents.