get_content_length


Description:

[ Version ( since = "0.13.0" ) ]
public int64 get_content_length ()

Gets the size (in bytes) of the file being uploaded.

This will be -1 for a non-resumable upload, and zero or greater for a resumable upload.

Parameters:

this

a UploadStream

Returns:

the size of the file being uploaded