-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Safe Zero-Copy Buffer from bytes::Bytes #4254
Copy link
Copy link
Closed
Labels
enhancementAny new improvement worthy of a entry in the changelogAny new improvement worthy of a entry in the changelog
Description
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
The Rust ecosystem makes extensive use of bytes::Bytes to represent a shared slice of data. Providing safe zero-copy interoperability with this type will therefore allow applications to avoid unnecessary copying of potentially large IPC payloads
Describe the solution you'd like
Provide a From<bytes::Bytes> implementation for Buffer
Describe alternatives you've considered
Additional context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementAny new improvement worthy of a entry in the changelogAny new improvement worthy of a entry in the changelog