Forum Discussion
varinder85
Jun 08, 2022Copper Contributor
com.microsoft.azure.storage.blob.BlobInputStream is deprecated what is the replacement of this class
I need to read blob as input stream, and the class com.microsoft.azure.storage.blob.BlobInputStream
is legacy, what is the alternative to this.
- richardwaalCopper ContributorI never worked with the SDK myself. But after a small search I suspect that you need use: com.microsoft.azure.storage.blob.CloudBlockBlob.
Here's an example where they use it:
https://www.programcreek.com/java-api-examples/?api=com.microsoft.azure.storage.blob.CloudBlockBlob - Jorgeeltaisonoutlook10Copper Contributor