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
-
- Object
- StreamTransformerBase<
String, List> - CsvDecoder
Constructors
- CsvDecoder([CsvConfig config = const CsvConfig()])
-
Create a streaming decoder with the given
config.const
Properties
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:convertpipeline compatibility. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited