Skip to content

feat(storage)!: return stream of ByteBuffer - #463

Merged
chingor13 merged 4 commits into
googleapis:mainfrom
chingor13:download-streaming
Aug 18, 2026
Merged

feat(storage)!: return stream of ByteBuffer#463
chingor13 merged 4 commits into
googleapis:mainfrom
chingor13:download-streaming

Conversation

@chingor13

@chingor13 chingor13 commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Fixes #462

We now return an iterator of SwiftNIO.ByteBuffer rather than Data. This makes it so we don't need to make copies of data while converting between types.

create internal type to wrap AsyncHttpClient body type

skip checksumming for now

remove checksumming stuff for now
@chingor13 chingor13 changed the title feat(storage): return stream of data feat!(storage): return stream of data Aug 17, 2026
@chingor13 chingor13 changed the title feat!(storage): return stream of data feat(storage)!: return stream of data Aug 17, 2026
@chingor13
chingor13 marked this pull request as ready for review August 17, 2026 23:10
@chingor13
chingor13 requested a review from a team as a code owner August 17, 2026 23:10
@chingor13 chingor13 changed the title feat(storage)!: return stream of data feat(storage)!: return stream of ByteBuffer Aug 17, 2026

@coryan coryan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we will want a different return type for the stream, but this is an improvement we should merge as-is.

Comment thread packages/storage/Sources/GoogleCloudStorage/DownloadOptions.swift
@chingor13
chingor13 merged commit 76d97b0 into googleapis:main Aug 18, 2026
22 of 23 checks passed
@chingor13
chingor13 deleted the download-streaming branch August 18, 2026 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[storage download] should return async stream of data

2 participants