| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f78c8e7 commit b483afc
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -30,10 +30,9 @@ encoding method. Here are the different string encodings. | |||
| 30 | 30 | ||
| 31 | 31 | * `'base64'` - Base64 string encoding. | |
| 32 | 32 | ||
| 33 | - * `'binary'` - A way of encoding raw binary data into strings by using only | ||
| 34 | - the first 8 bits of each character. This encoding method is deprecated and | ||
| 35 | - should be avoided in favor of `Buffer` objects where possible. This encoding | ||
| 36 | - will be removed in future versions of Node.js. | ||
| 33 | + * `'binary'` - A way of encoding the buffer into a one-byte (i.e. `latin-1`) | ||
| 34 | + encoded string. The string `'latin-1'` is not supported. Instead simply pass | ||
| 35 | + `'binary'` to use `'latin-1'` encoding. | ||
| 37 | 36 | ||
| 38 | 37 | * `'hex'` - Encode each byte as two hexadecimal characters. | |
| 39 | 38 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments