JavaScriptにおいてバイナリデータを扱うためのオブジェクト「Uint8Array」、「ArrayBuffer」、「Blob」、「File」の解説をする。
もう流石に大丈夫(だと思うの)だけど、画像処理APIを開発中当時、ハマった話。 フロントのフレームワークにVue.jsを用いた際、axiosでapi(バックのフレームワークはFastAPIを使用)を叩いてarraybufferを変えさせようとしたけど全然上手くいかなかった。
ArrayBuffers may be transferred and detached by HTML's serialization algorithms, but there lacks a programmatic JS API for the same expressivity. A programmatic API is useful for programming patterns ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する