Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web/API/Blob/arrayBuffer 他1件を更新 #23641

Merged
merged 1 commit into from
Sep 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions files/ja/web/api/blob/arraybuffer/index.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
title: Blob.arrayBuffer()
title: "Blob: arrayBuffer() メソッド"
short-title: arrayBuffer()
slug: Web/API/Blob/arrayBuffer
l10n:
sourceCommit: 9ad07c43f42e14278a4040fd554af33699aea632
sourceCommit: 84a9afd94f497d4173bde131731ef6bdf0b6135d
---

{{APIRef("File API")}}
{{APIRef("File API")}}{{AvailableInWorkers}}

**`arrayBuffer()`** は {{domxref("Blob")}} インターフェイスのメソッドで、 {{jsxref("ArrayBuffer")}} 内のバイナリーデータとした Blob の内容を解決する {{jsxref("Promise")}} を返します。
**`arrayBuffer()`** は {{domxref("Blob")}} インターフェイスのメソッドで、 Blob の内容を {{jsxref("ArrayBuffer")}} 内のバイナリーデータとした解決するプロミス ({{jsxref("Promise")}}) を返します。

## 構文

Expand All @@ -25,7 +26,7 @@ Blob のデータをバイナリー形式で含む {{jsxref("ArrayBuffer")}} で

### 例外

このメソッドでは例外が発生しませんが、プロミスを拒否することがあります。例えば、Blob のデータを取得するために使用されたリーダーで例外が発生した場合などです。データの取得中に発生した例外はすべて拒否に変換されます。
このメソッドでは例外が発生しませんが、プロミスが拒否されることがあります。例えば、Blob のデータを取得するために使用されたリーダーで例外が発生した場合などです。データの取得中に発生した例外はすべて拒否に変換されます。

## 使用上のメモ

Expand Down
9 changes: 5 additions & 4 deletions files/ja/web/api/blob/slice/index.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
title: Blob.slice()
title: "Blob: slice() メソッド"
short-title: slice()
slug: Web/API/Blob/slice
l10n:
sourceCommit: 9ad07c43f42e14278a4040fd554af33699aea632
sourceCommit: 84a9afd94f497d4173bde131731ef6bdf0b6135d
---

{{APIRef("File API")}}
{{APIRef("File API")}}{{AvailableInWorkers}}

{{domxref("Blob")}} インターフェイスの **`slice()`** メソッドは、呼び出された blob のサブセットのデータを含む新しい `Blob` オブジェクトを作成して返します。
**`slice()`** は {{domxref("Blob")}} インターフェイスのメソッドで、呼び出された blob のサブセットのデータを含む新しい `Blob` オブジェクトを作成して返します。

## 構文

Expand Down