React Native, unordered_map::at: key not found when passing a Buffer instead of a Uint8Array
Open
- Dominant language
- JavaScript
- Stars
- 1.9k
- Forks
- 260
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
In react native, for example using expo fs to write a file or sqllite to write to db, i receive this error `[Error: Exception in HostFunction: unordered_map::at: key not found]` when i try to pass a Buffer to these functions.
These functions expect a Uint8Array and not a Buffer but a Buffer should be also an Uint8Array.
Fact is that if I do Uint8Array.from(bufferVariableHere), the error goes away.
Any hint?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.