Microsoft Azure Storage Client Library for C++  7.5.0
The Microsoft Azure Storage Client Library for C++ is a library for working with the Azure Storage Services in C++.
Public Member Functions | List of all members
azure::storage::file_range Class Reference

Represents a range of file ranges. More...

Public Member Functions

 file_range (int64_t start_offset, int64_t end_offset)
 Initializes a new instance of the azure::storage::file_range class. More...
 
utility::string_t to_string () const
 Returns the content of the file range as a string. More...
 
int64_t start_offset () const
 Gets the starting offset of the file range. More...
 
int64_t end_offset () const
 Gets the ending offset of the file range. More...
 

Detailed Description

Represents a range of file ranges.

Constructor & Destructor Documentation

◆ file_range()

azure::storage::file_range::file_range ( int64_t  start_offset,
int64_t  end_offset 
)
inline

Initializes a new instance of the azure::storage::file_range class.

Parameters
start_offsetThe starting offset.
end_offsetThe ending offset.

Member Function Documentation

◆ end_offset()

int64_t azure::storage::file_range::end_offset ( ) const
inline

Gets the ending offset of the file range.

Returns
The ending offset.

◆ start_offset()

int64_t azure::storage::file_range::start_offset ( ) const
inline

Gets the starting offset of the file range.

Returns
The starting offset.

◆ to_string()

utility::string_t azure::storage::file_range::to_string ( ) const
inline

Returns the content of the file range as a string.

Returns
The content of the file range.