GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: add missing return types in buffer.md · nodejs/node@695cd89

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • buffer.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/buffer.md‎

Copy file name to clipboardExpand all lines: doc/api/buffer.md
+5Lines changed: 5 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,8 @@ added:
536536
- v20.16.0
537537
-->
538538

539+
* Returns: {Promise}
540+
539541
The `blob.bytes()` method returns the byte of the `Blob` object as a `Promise<Uint8Array>`.
540542

541543
```js
@@ -566,6 +568,7 @@ added:
566568
* `start` {number} The starting index.
567569
* `end` {number} The ending index.
568570
* `type` {string} The content-type for the new `Blob`
571+
* Returns: {Blob}
569572

570573
Creates and returns a new `Blob` containing a subset of this `Blob` objects
571574
data. The original `Blob` is not altered.
@@ -5274,6 +5277,7 @@ added:
52745277
> Stability: 3 - Legacy. Use `Buffer.from(data, 'base64')` instead.
52755278
52765279
* `data` {any} The Base64-encoded input string.
5280+
* Returns: {string}
52775281

52785282
Decodes a string of Base64-encoded data into bytes, and encodes those bytes
52795283
into a string using Latin-1 (ISO-8859-1).
@@ -5304,6 +5308,7 @@ added:
53045308
> Stability: 3 - Legacy. Use `buf.toString('base64')` instead.
53055309
53065310
* `data` {any} An ASCII (Latin1) string.
5311+
* Returns: {string}
53075312

53085313
Decodes a string into bytes using Latin-1 (ISO-8859), and encodes those bytes
53095314
into a string using Base64.

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.