ByteToLineTransformer class
Transforms a stream of bytes into strings whenever a newline is encountered.
This is used to consume output of processes like the package:test JSON reporter where the stream data may be buffered and we need to process specific JSON packets that are sent on their own lines.
- Inheritance
-
- Object
- StreamTransformerBase<
List< int> , String> - ByteToLineTransformer
Constructors
Properties
- 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< List< stream) → Stream<int> >String> -
Transforms the provided
stream
.override -
cast<
RS, RT> () → StreamTransformer< RS, RT> -
Provides a
StreamTransformer<RS, RT>
view of this stream transformer.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited