Skip to content

Commit

Permalink
doc: add documentation for blob.bytes() method
Browse files Browse the repository at this point in the history
  • Loading branch information
jmsb02 committed Jul 30, 2024
1 parent 3a25717 commit 3f42bfc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,10 @@ Creates and returns a new `Blob` containing a subset of this `Blob` objects
data. The original `Blob` is not altered.

#### `blob.bytes()`
<!-- YAML
added:
- v20.16.0
-->

The `blob.bytes()` method returns the byte of the `Blob` object as a `Promise<Uint8Array>`.

Expand Down

0 comments on commit 3f42bfc

Please sign in to comment.