Discard the buffered data.
A SinkResult with the accumulated bytes and, where Blob is available, a blob of the recorded MIME type.
Pre-allocate the buffer to the declared file size and record the MIME type
used for the resulting Blob.
Name, size, and MIME type of the incoming file.
Copy a chunk into the buffer at offset, growing the buffer if the write
extends past its current end.
Byte offset at which to write.
The chunk bytes.
StorageSink that accumulates the received file in a single in-memory buffer.
Suitable for small-to-moderate files where the whole payload can fit in memory. The buffer is pre-sized from the file metadata and grown on demand if a write extends past its end.