Replies: 1 comment 9 replies
-
That's a limitation of Dart VM API.
Workaround: Maybe let Rust own the image data, instead of Dart? For example, the "pool" or "opaque types" approach can allow you to let Rust own the data. However, you may need to check safety-related things. |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, as far as I understand the documentation, ZeroCopy Buffers can only be used to send data from rust to dart and not the other way around, right?
Is there currently a way to send data from dart to rust, without copying? Let's say I have image data, managed by Dart, which I want to process using Rust. What would be the best approach?
Beta Was this translation helpful? Give feedback.
All reactions