From 20ea8badf20ee70300ac19ef22c04c74dfbb7a33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Sun, 10 Dec 2017 21:42:25 +0100 Subject: [PATCH 1/2] doc: format ArrayBufferView as inline code --- doc/api/crypto.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index b0e1d19963bf58..426a90d9b2599c 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -1847,7 +1847,7 @@ added: v7.10.0 changes: - version: v9.0.0 pr-url: https://github.com/nodejs/node/pull/15231 - description: The `buffer` argument may be any ArrayBufferView + description: The `buffer` argument may be any `ArrayBufferView` --> * `buffer` {Buffer|Uint8Array|ArrayBufferView} Must be supplied. @@ -1889,7 +1889,7 @@ added: v7.10.0 changes: - version: v9.0.0 pr-url: https://github.com/nodejs/node/pull/15231 - description: The `buffer` argument may be any ArrayBufferView + description: The `buffer` argument may be any `ArrayBufferView` --> * `buffer` {Buffer|Uint8Array|ArrayBufferView} Must be supplied. From ebdb714eb2dab7d0b0e2e22eb8271b6fe2eab2ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Mon, 11 Dec 2017 10:45:06 +0100 Subject: [PATCH 2/2] [squash] ArrayBufferView -> TypedArray|DataView --- doc/api/crypto.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 426a90d9b2599c..a06959aa67407b 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -1847,10 +1847,10 @@ added: v7.10.0 changes: - version: v9.0.0 pr-url: https://github.com/nodejs/node/pull/15231 - description: The `buffer` argument may be any `ArrayBufferView` + description: The `buffer` argument may be any `TypedArray` or `DataView`. --> -* `buffer` {Buffer|Uint8Array|ArrayBufferView} Must be supplied. +* `buffer` {Buffer|TypedArray|DataView} Must be supplied. * `offset` {number} Defaults to `0`. * `size` {number} Defaults to `buffer.length - offset`. @@ -1889,10 +1889,10 @@ added: v7.10.0 changes: - version: v9.0.0 pr-url: https://github.com/nodejs/node/pull/15231 - description: The `buffer` argument may be any `ArrayBufferView` + description: The `buffer` argument may be any `TypedArray` or `DataView`. --> -* `buffer` {Buffer|Uint8Array|ArrayBufferView} Must be supplied. +* `buffer` {Buffer|TypedArray|DataView} Must be supplied. * `offset` {number} Defaults to `0`. * `size` {number} Defaults to `buffer.length - offset`. * `callback` {Function} `function(err, buf) {}`.