React Native, unordered_map::at: key not found when passing a Buffer instead of a Uint8Array
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- javascript, react-native
- 領域
- mobile-dev
調査の方向性
まず、Buffer、次にUint8Arrayを渡して、expo fsまたはsqliteを使ったReact Nativeでエラーを再現します。BufferがUint8Arrayであるにもかかわらず拒否される理由を調査します。影響を受ける関数がUint8Array.from(buffer)を必要とせずにBufferを受け入れれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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?
- 主要言語
- JavaScript
- スター
- 1.9k
- フォーク
- 260
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
feross/buffer のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
-
Why is the code above version 6.0 ES6? This leads to errors running on lower versions of browsers オープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
area-deployment area-integrations triage:bot-seen
難易度 2/5 半日 初心者へのやさしさ 86/100
-
Issue-Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
sugarlabs/musicblocks#8924 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
ArduPilot/ardupilot_wiki#8088 ·
-
[BUG] createTool tools cannot be registered with Mastra when exactOptionalPropertyTypes is enabled オープンcustomer-eng status: needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100