Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/buffer.md')
-rw-r--r--doc/api/buffer.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/api/buffer.md b/doc/api/buffer.md
index 9ada48fb4f7..60c857f78e7 100644
--- a/doc/api/buffer.md
+++ b/doc/api/buffer.md
@@ -50,7 +50,7 @@ const buf7 = Buffer.from('tést', 'latin1');
## Buffers and character encodings
<!-- YAML
changes:
- - version: REPLACEME
+ - version: v14.18.0
pr-url: https://github.com/nodejs/node/pull/36952
description: Introduced `base64url` encoding.
- version: v6.4.0
@@ -289,7 +289,7 @@ Additionally, the [`buf.values()`][], [`buf.keys()`][], and
## Class: `Blob`
<!-- YAML
-added: REPLACEME
+added: v14.18.0
-->
> Stability: 1 - Experimental
@@ -299,7 +299,7 @@ multiple worker threads.
### `new buffer.Blob([sources[, options]])`
<!-- YAML
-added: REPLACEME
+added: v14.18.0
-->
* `sources` {string[]|ArrayBuffer[]|TypedArray[]|DataView[]|Blob[]} An array
@@ -321,7 +321,7 @@ String sources are also copied into the `Blob`.
### `blob.arrayBuffer()`
<!-- YAML
-added: REPLACEME
+added: v14.18.0
-->
* Returns: {Promise}
@@ -331,14 +331,14 @@ the `Blob` data.
### `blob.size`
<!-- YAML
-added: REPLACEME
+added: v14.18.0
-->
The total size of the `Blob` in bytes.
### `blob.slice([start, [end, [type]]])`
<!-- YAML
-added: REPLACEME
+added: v14.18.0
-->
* `start` {number} The starting index.
@@ -350,7 +350,7 @@ data. The original `Blob` is not alterered.
### `blob.text()`
<!-- YAML
-added: REPLACEME
+added: v14.18.0
-->
* Returns: {Promise}
@@ -360,7 +360,7 @@ string.
### `blob.type`
<!-- YAML
-added: REPLACEME
+added: v14.18.0
-->
* Type: {string}