Skip to content

Support ReadOnlySequence type #146

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 22, 2025

Conversation

Odonno
Copy link
Contributor

@Odonno Odonno commented Apr 9, 2024

Support ReadOnlySequence<byte> type on Send methods:

  • for both TEXT and BINARY websocket message types
  • Handle ReadOnlyMemory<byte> type (internally for now)
  • may have performance benefits to read memory block by block on large sequences (multiple segments)

@Marfusios
Copy link
Owner

Thank you for the PR!

@Marfusios Marfusios merged commit 1bc98f0 into Marfusios:master May 22, 2025
1 check passed
@Odonno Odonno deleted the feat/read-only-sequence branch May 22, 2025 13: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.

2 participants