| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 8369562 commit 9428304
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2162,6 +2162,8 @@ added: v0.1.90 | |||
| 2162 | 2162 | ||
| 2163 | 2163 | Decodes `buf` to a string according to the specified character encoding in | |
| 2164 | 2164 | `encoding`. `start` and `end` may be passed to decode only a subset of `buf`. | |
| 2165 | + If a byte sequence in the input is not valid in the given `encoding` then | ||
| 2166 | + it is replaced with the replacement character `U+FFFD`. | ||
| 2165 | 2167 | ||
| 2166 | 2168 | The maximum length of a string instance (in UTF-16 code units) is available | |
| 2167 | 2169 | as [`buffer.constants.MAX_STRING_LENGTH`][]. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments