feature request: .data() method for nb::bytes #569
Unanswered
jeffective
asked this question in
Q&A
Replies: 1 comment 4 replies
-
I was recently dealing with So if you have a bytes object in C++, use |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Can we have a .data() method for the nb::bytes object to return a pointer to the underlying data?
This could be helpful when using c libraries that pass around size and pointers to the starts of buffers.
Beta Was this translation helpful? Give feedback.
All reactions