ReadonlycanWhether slice is safe to call on this source.
true for in-memory / random-access sources (BufferSource,
BlobSource) — the multipart upload engine can dispatch part reads
in parallel by slicing the source into disjoint ranges. false
for forward-only sources (StreamSource) — the engine must read
sequentially, one partSize chunk at a time. Callers that branch
on this flag are expected to fall back to the sequential path
rather than call slice() and catch the throw.
Optional Readonlysha1Pre-computed SHA-1 hex digest, if available.
ReadonlysizeTotal size of the content in bytes.
Return a sub-range of this source as a new ContentSource.
Open the content as a ReadableStream.
Read the entire content into an ArrayBuffer.
Uniform adapter for upload content. Wraps File, Blob, Buffer, or ReadableStream behind a common interface so upload logic does not depend on the input type.