BlobRange Class

Definition

This is a representation of a range of bytes on a blob, typically used during a download operation. This type is immutable to ensure thread-safety of requests, so changing the values for a different operation requires construction of a new object. Passing null as a BlobRange value will default to the entire range of the blob.

public class BlobRange
Inheritance
java.lang.Object
BlobRange

Constructors

BlobRange()

Methods

count()

How many bytes to include in the range. Must be greater than or equal to 0 if specified.

offset()

The start of the range. Must be greater than or equal to 0.

toString()
withCount(Long count)

How many bytes to include in the range. Must be greater than or equal to 0 if specified.

withOffset(long offset)

The start of the range. Must be greater than or equal to 0.

Applies to