// Copyright (c) Microsoft Corporation. All rights reserved. // SPDX-License-Identifier: MIT #include "blobs/blob.hpp" #include #include int main() { using namespace Azure::Storage::Blobs; BlobClient blob_client("https://targettest.blob.core.windows.net/container1/file_8M"); auto properties = blob_client.GetProperties(); std::cout << properties.ContentLength << std::endl; auto downloaded_data = blob_client.Download(); std::cout << downloaded_data.BodyBuffer.size() << std::endl; return 0; }