Resource ownership of GetObjectResponse.InputStream

238 Views Asked by At

Who owns the OCI object-storage GetObjectResponse.InputStream resource?

Do I need to explicitly close the stream? There is no information about this in the API doc.

1

There are 1 best solutions below

0
mrtaylor2112 On

As Char stated, the InputStream is "owned" by you, requiring you to open/close it.