Skip to content

Commit

Permalink
refs #97 add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
doyaaaaaken committed Aug 7, 2022
1 parent 5717e0f commit a628703
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,13 @@ csvWriter().openAsync(testFileName) {
}
```

#### Write as String

```kotlin
val rows = listOf(listOf("a", "b", "c"), listOf("d", "e", "f"))
val csvString: String = csvWriter().writeAllAsString(rows) //a,b,c\r\nd,e,f\r\n
```

#### long-running write (manual control for file close)

If you want to close a file writer manually for performance reasons (e.g. streaming scenario), you can
Expand Down

0 comments on commit a628703

Please sign in to comment.