| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0e8af33 commit 695cd89
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -536,6 +536,8 @@ added: | |||
| 536 | 536 | - v20.16.0 | |
| 537 | 537 | --> | |
| 538 | 538 | ||
| 539 | + * Returns: {Promise} | ||
| 540 | + | ||
| 539 | 541 | The `blob.bytes()` method returns the byte of the `Blob` object as a `Promise<Uint8Array>`. | |
| 540 | 542 | ||
| 541 | 543 | ```js | |
@@ -566,6 +568,7 @@ added: | |||
| 566 | 568 | * `start` {number} The starting index. | |
| 567 | 569 | * `end` {number} The ending index. | |
| 568 | 570 | * `type` {string} The content-type for the new `Blob` | |
| 571 | + * Returns: {Blob} | ||
| 569 | 572 | ||
| 570 | 573 | Creates and returns a new `Blob` containing a subset of this `Blob` objects | |
| 571 | 574 | data. The original `Blob` is not altered. | |
@@ -5274,6 +5277,7 @@ added: | |||
| 5274 | 5277 | > Stability: 3 - Legacy. Use `Buffer.from(data, 'base64')` instead. | |
| 5275 | 5278 | ||
| 5276 | 5279 | * `data` {any} The Base64-encoded input string. | |
| 5280 | + * Returns: {string} | ||
| 5277 | 5281 | ||
| 5278 | 5282 | Decodes a string of Base64-encoded data into bytes, and encodes those bytes | |
| 5279 | 5283 | into a string using Latin-1 (ISO-8859-1). | |
@@ -5304,6 +5308,7 @@ added: | |||
| 5304 | 5308 | > Stability: 3 - Legacy. Use `buf.toString('base64')` instead. | |
| 5305 | 5309 | ||
| 5306 | 5310 | * `data` {any} An ASCII (Latin1) string. | |
| 5311 | + * Returns: {string} | ||
| 5307 | 5312 | ||
| 5308 | 5313 | Decodes a string into bytes using Latin-1 (ISO-8859), and encodes those bytes | |
| 5309 | 5314 | into a string using Base64. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments