Skip to content

Add create to Storage that takes an InputStream #172

Closed
@mziccard

Description

@mziccard

Storage class now has a method to create an object:

create(BlobInfo blobInfo, final byte[] content, BlobTargetOption... options)

I know that we already provide a BlobWriteChannel but it might be useful to also have:

create(BlobInfo blobInfo, InputStream content, BlobTargetOption... options)

for uploading small files without reading their bytes. Thoughts?

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the Cloud Storage API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions