Skip to content
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

Arc<u8> and bytes::Bytes lower to bytes #2359

Open
dev-ardi opened this issue Dec 18, 2024 · 2 comments
Open

Arc<u8> and bytes::Bytes lower to bytes #2359

dev-ardi opened this issue Dec 18, 2024 · 2 comments

Comments

@dev-ardi
Copy link

I would like to use an Arc<u8> or bytes::Bytes in order to share a memory buffer between Rust and ffi without copying.

@mhammond
Copy link
Member

mhammond commented Dec 18, 2024

Thanks! I guess you mean [u8]? We have #1974 open for that which I think covers this?

@dev-ardi
Copy link
Author

I meant Arc<[u8]>, sorry.

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

No branches or pull requests

2 participants