CsvWriter
@Js
class CsvWriter : Obj
Write Haystack data in CSV format.
Wrap output stream
Delimiter character
Newline string
Include the column names as a header row
Strip units from all numbers
Close the underlying output stream
Flush the underlying output stream and return this
Write grid as CSV and return this
Bool close()
Close the underlying output stream
Int : delimiter
Delimiter character; defaults to comma.
This flush()
Flush the underlying output stream and return this
new make(OutStream out, Dict? opts := null)
Wrap output stream
Str : newline
Newline string; defaults to "\n"
Bool : showHeader
Include the column names as a header row
Bool : stripUnits
Strip units from all numbers
virtual This writeGrid(Grid grid)
Write grid as CSV and return this