| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1226,7 +1226,7 @@ added: v6.0.0 | |||
| 1226 | 1226 | ||
| 1227 | 1227 | * `value` {String | Buffer | Integer} What to search for | |
| 1228 | 1228 | * `byteOffset` {Integer} Where to begin searching in `buf`. | |
| 1229 | - **Default:** [`buf.length`] | ||
| 1229 | + **Default:** [`buf.length`]` - 1` | ||
| 1230 | 1230 | * `encoding` {String} If `value` is a string, this is its encoding. | |
| 1231 | 1231 | **Default:** `'utf8'` | |
| 1232 | 1232 | * Returns: {Integer} The index of the last occurrence of `value` in `buf` or `-1` | |
| Back | FazBrowse Home | New Git URL |
0 commit comments