Skip to content

Conversation

@milseman
Copy link
Contributor

Implement read/write methods accepting RawSpan and OutputRawSpan, with support for absolute offset operations and fill-until-complete semantics. Refactor buffer handling into reusable helpers.

Implement read/write methods accepting RawSpan and OutputRawSpan,
with support for absolute offset operations and fill-until-complete
semantics. Refactor buffer handling into reusable helpers.
/// call the ``seek(offset:from:)`` method.
///
/// The corresponding C function is `write`.
@available(macOS 15, iOS 18, watchOS 11, tvOS 18, visionOS 2, *)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@glessard could you help me adopt/add the right availability macro or versioning for this?

@milseman
Copy link
Contributor Author

Merging to unblock socket Span adoption

@milseman milseman merged commit 81fded4 into apple:staging Jan 23, 2026
10 of 45 checks passed
@milseman milseman deleted the spanios branch January 23, 2026 22:15
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.

1 participant