AbstractOptionalexpectedSize: numberOptional size hint for buffer pre-allocation
Total bytes read from this stream so far.
ReadonlyexpectedSize hint for buffer pre-allocation in readAll(). May be undefined if size is unknown.
Release resources and abort any pending operations.
AbstractpullPull data into the provided buffer.
Buffer to fill with data
Number of bytes read, or 0 for EOF
Read entire stream into a single buffer. Uses expectedSize hint if available, grows dynamically if needed.
Complete data as Uint8Array
Abstract base class for streaming data from a source. Uses a pull-based model where the consumer provides the buffer.