Google Cloud Storage C++ Client  1.32.1
A C++ Client Library for Google Cloud Storage
Public Types | List of all members
google::cloud::storage::v1::UploadBufferSizeOption Struct Reference

Control the formatted I/O upload buffer. More...

#include <google/cloud/storage/options.h>

Public Types

using Type = std::size_t
 

Detailed Description

Control the formatted I/O upload buffer.

When using formatted I/O operations (typically operator<<(std::istream&...) this option controls the size of the in-memory buffer kept before a chunk is uploaded. Note that GCS only accepts chunks in multiples of 256KiB, so this option is always rounded up to the next such multiple.

Applications seeking optional performance for downloads should avoid formatted I/O, and prefer using std::istream::write(). This option has no effect in that case.

Definition at line 139 of file options.h.

Member Typedef Documentation

◆ Type

Definition at line 140 of file options.h.