io:CSVStream is used to initialize a stream of type CSV records. This
io:CSVStream refers to the stream
that is embedded to the I/O record channels.
CSVStream using an
init (ReadableTextRecordChannel readableTextRecordChannel)
- readableTextRecordChannel ReadableTextRecordChannel
io:ReadableTextRecordChannelthat this CSV stream is referred to
The next function reads and returns the next CSV record of the related stream.
function close() returns Error?
Close the stream. The primary usage of this function is to close the stream without reaching the end.
If the stream reaches the end, the
csvStream.next() will automatically close the stream.
() when the closing was successful or an