ReadableStreamBYOBReader class
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the Streams API represents a BYOB ("bring your own buffer") reader that can be used to read stream data supplied by the developer (e.g. a custom ReadableStream() constructor).
- Implemented types
- Available extensions
- Annotations
-
- @experimental
- @JS()
- @staticInterop
Constructors
- ReadableStreamBYOBReader(ReadableStream stream)
-
factory
Properties
-
closed
→ Future<
void> -
Available on ReadableStreamGenericReader, provided by the PropsReadableStreamGenericReader extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancel(
[dynamic reason]) → Future< void> -
Available on ReadableStreamGenericReader, provided by the PropsReadableStreamGenericReader extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
dynamic view) → Future< ReadableStreamReadResult> -
Available on ReadableStreamBYOBReader, provided by the PropsReadableStreamBYOBReader extension
-
releaseLock(
) → void -
Available on ReadableStreamBYOBReader, provided by the PropsReadableStreamBYOBReader extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited