Skip to content

How should I return the pointer from rust for create Uint8List in flutter? #1866

Closed Answered by fzyzcjy
brandon3343 asked this question in Q&A
Discussion options

You must be logged in to vote

If you are confident about this (operating on raw pointers can be quite dangerous!), feel free to convert *const u8 into an i64 (int), since it is nothing but an address.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@brandon3343
Comment options

@fzyzcjy
Comment options

Answer selected by brandon3343
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants