Closed parthdt closed 1 week ago
As I noted in #2158, our test at https://github.com/mozilla/uniffi-rs/tree/main/fixtures/coverall has extensive coverage of "bytes", so that can probably point you in the right direction.
Hi Mark,
Thanks a lot for pointing me towards the tests for bytes. Using Data() for bytes helped. Thanks a ton!
How do I use a object in rust with a field of bytes:
Vec<u8>
in swift? How is this handled by uniffi?I have:
Now, I'm running into multiple
unsafeFromRawPointer
errors while directly trying to access a[UInt8]
.And this:
Gives me:
Please help!