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: removed extra explanation in api/buffer.md · nodejs/node@1553c73

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
+5-7Lines changed: 5 additions & 7 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -906,13 +906,11 @@ added: v0.11.13
906906
* `targetStart` {integer} The offset within `target` at which to begin
907907
comparison. **Default:** `0`
908908
* `targetEnd` {integer} The offset with `target` at which to end comparison
909-
(not inclusive). Ignored when `targetStart` is `undefined`.
910-
**Default:** `target.length`
909+
(not inclusive). **Default:** `target.length`
911910
* `sourceStart` {integer} The offset within `buf` at which to begin comparison.
912-
Ignored when `targetStart` is `undefined`. **Default:** `0`
911+
**Default:** `0`
913912
* `sourceEnd` {integer} The offset within `buf` at which to end comparison
914-
(not inclusive). Ignored when `targetStart` is `undefined`.
915-
**Default:** [`buf.length`]
913+
(not inclusive). **Default:** [`buf.length`]
916914
* Returns: {integer}
917915

918916
Compares `buf` with `target` and returns a number indicating whether `buf`
@@ -982,9 +980,9 @@ added: v0.1.90
982980
* `targetStart` {integer} The offset within `target` at which to begin
983981
copying to. **Default:** `0`
984982
* `sourceStart` {integer} The offset within `buf` at which to begin copying from.
985-
Ignored when `targetStart` is `undefined`. **Default:** `0`
983+
**Default:** `0`
986984
* `sourceEnd` {integer} The offset within `buf` at which to stop copying (not
987-
inclusive). Ignored when `sourceStart` is `undefined`. **Default:** [`buf.length`]
985+
inclusive). **Default:** [`buf.length`]
988986
* Returns: {integer} The number of bytes copied.
989987

990988
Copies data from a region of `buf` to a region in `target` even if the `target`

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.