CloudBlockBlob.setStreamWriteSizeInBytes(final int streamWriteSizeInBytes) Method

Definition

Sets the number of bytes to buffer when writing to a BlobOutputStream.

public void setStreamWriteSizeInBytes(final int streamWriteSizeInBytes)
Parameters
streamWriteSizeInBytes
final int

An int which represents the maximum block size, in bytes, for writing to a block blob while using a BlobOutputStream object, ranging from 16 KB to 100 MB, inclusive.

Exceptions
IllegalArgumentException

If streamWriteSizeInBytes is less than 16 KB or greater than 100 MB.

Applies to