mode property
ReadableStreamReaderMode?
get
mode
Creates a ReadableStreamBYOBReader and locks the stream to the new reader.
This call behaves the same way as the no-argument variant, except that it only works on readable byte streams, i.e. streams which were constructed specifically with the ability to handle "bring your own buffer" reading. The returned BYOB reader provides the ability to directly read individual chunks from the stream via its read() method, into developer-supplied buffers, allowing more precise control over allocation.
Implementation
_i3.ReadableStreamReaderMode? get mode => _i4.getProperty(
this,
'mode',
);
set
mode
(ReadableStreamReaderMode? value)
Implementation
set mode(_i3.ReadableStreamReaderMode? value) {
_i4.setProperty(
this,
'mode',
value ?? _i6.undefined ?? _i6.undefined,
);
}