How to convert primitive types to bytes or cast ptr to any type? #18023
Unanswered
doki23
asked this question in
Questions and Answers
Replies: 1 comment
-
No, there is no "zero copy" way other than using You can use the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any zero copy way to get bytes like below?
or maybe unsafe code
Beta Was this translation helpful? Give feedback.
All reactions