codec library
High-level codec facade for CSV encoding and decoding.
CsvCodec is the main entry point for most users:
final codec = CsvCodec();
final rows = codec.decode('a,b\n1,2');
final csv = codec.encode([['a','b'], [1, 2]]);
Convenience constants csvPlus, csvExcel, and csvTsv provide pre-configured codec instances.
CsvCodecAdapter integrates with the dart:convert Codec API for
pipeline composition with other converters.
Classes
- CsvCodec
- Main facade for CSV encoding and decoding.
- CsvCodecAdapter
-
A
dart:convertcompatible Codec for CSV data.