Create a StreamSource wrapping the given ReadableStream with a known byte size.
The ReadableStream to wrap as a content source.
The total number of bytes the stream will produce.
ReadonlycanForward-only: ReadableStreams cannot be repositioned, so multipart
uploads must take the sequential path. See the interface comment on
canSlice for what the engine does with this flag.
ReadonlysizeAlways throws because streams cannot be sliced. Buffer the stream first.
Read the entire stream into an ArrayBuffer.
A promise that resolves with the full content as an ArrayBuffer.
ContentSource backed by a ReadableStream. Can only be consumed once and does not support slicing.