Skip to content

Commit

Permalink
doc: add content for Blob.bytes()
Browse files Browse the repository at this point in the history
  • Loading branch information
sendoru committed Jul 30, 2024
1 parent 027710e commit 9ef0086
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,18 @@ added:
Returns a promise that fulfills with an {ArrayBuffer} containing a copy of
the `Blob` data.

### `blob.bytes()`

<!-- YAML
added:
- v20.16.0
-->

* Returns: {Promise}

Returns a promise that fulfills with a {Uint8Array} containing a copy of the
`Blob` data.

### `blob.size`

<!-- YAML
Expand Down

0 comments on commit 9ef0086

Please sign in to comment.