CsvDecoder class

Streaming CSV decoder using a chunked state machine.

Handles chunk boundaries that split mid-field, mid-escape, or mid-CRLF. Use for memory-efficient processing of large inputs.

Inheritance

Constructors

CsvDecoder([CsvConfig config = const CsvConfig()])
Create a streaming decoder with the given config.
const

Properties

config CsvConfig
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

bind(Stream<String> stream) Stream<List>
Transforms the provided stream.
override
cast<RS, RT>() StreamTransformer<RS, RT>
Provides a StreamTransformer<RS, RT> view of this stream transformer.
inherited
convert(String input) List<List>
Batch: decode complete CSV string to rows.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startChunkedConversion(Sink<List> sink) Sink<String>
Chunked conversion sink for dart:convert pipeline compatibility.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited