Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
76e65d9
test: check types for http request and response
bnoordhuis May 26, 2016
774fb78
doc: mention http request "aborted" events
kemitchell Jun 10, 2016
748702a
doc: update "who to cc in issues" chart
Fishrock123 May 11, 2016
1d4a4b2
doc: add lance to collaborators
lance Jun 24, 2016
75d21ff
doc: add CTC meeting minutes 2016-06-15
joshgav Jun 16, 2016
73cdc54
repl: fix tab completion for defined commands
princejwesley Jun 22, 2016
3ce574e
doc: clarify child_process stdout/stderr types
sartrey Jun 22, 2016
40bd4c1
doc: fix "sign.verify" typo in crypto doc.
rus0000 Jun 24, 2016
0ecdd6f
assert: remove unneeded arguments special handling
Trott Jun 24, 2016
9e0aad2
doc: improve usage of `zero`/`0`
Trott Jun 28, 2016
5542971
test: remove common.PORT from http tests
Trott Jun 29, 2016
efca61e
doc: fix detached child stdio example
cjihrig Jul 5, 2016
54930bf
doc: add bartosz sosnowski to colaborators
bzoz Jul 6, 2016
c93579d
doc: fix minor style issues in http.md
Trott Jul 4, 2016
db020b4
test: fix flaky test-net-write-slow
Trott Jul 6, 2016
eb841f9
doc: added information on how to run the linter.
diosney Jul 4, 2016
714aee2
doc: add benchmark who-to-CC info
Trott Jul 8, 2016
8c929aa
doc: dns.resolve fix callback argument description
qheaden Jul 4, 2016
f7e1bed
tools: remove unused variable
Trott Jul 7, 2016
c4cae1f
test: remove unused var in test-tls-server-verify
Trott Jul 7, 2016
700c24a
test: remove unused var from child-process-fork
Trott Jul 7, 2016
b98e20d
test: remove unused var from stream2 test
Trott Jul 7, 2016
6d75996
test: remove unused var in net-server-try-ports
Trott Jul 7, 2016
eaf40a0
benchmark: remove unused variables
Trott Jul 7, 2016
e3aabdb
test: remove unused vars from http/https tests
Trott Jul 7, 2016
09c8ec7
tools: update ESLint, fix unused vars bug
Trott Jul 7, 2016
a187b25
test: update weak module for gc tests
Trott May 27, 2016
c3c26a2
test: test isFullWidthCodePoint with invalid input
Trott Jun 25, 2016
53f114d
doc: fix cluster worker 'message' event
cjihrig Jun 15, 2016
27743a9
src: remove unused #include statement
bnoordhuis May 4, 2016
79e9d5b
src: don't use locale-sensitive strcasecmp()
bnoordhuis May 4, 2016
b5b44d8
tools: update certdata.txt
bnoordhuis Jun 22, 2016
b168928
crypto: update root certificates
bnoordhuis Jun 22, 2016
de57ead
test: remove internet/test-tls-connnect-cnnic
bnoordhuis Jun 23, 2016
46c8f84
src: check uv_async_init() return value
bnoordhuis Jun 22, 2016
b025cae
src: guard against starting fs watcher twice
bnoordhuis Jun 22, 2016
c4f8e2c
src: remove unused data member write_queue_size_
bnoordhuis Jun 22, 2016
5230f92
src: remove unused md_ data members
bnoordhuis Jun 22, 2016
6a8d0bb
src: remove duplicate HMAC_Init calls
bnoordhuis Jun 22, 2016
b3811fd
src: remove deprecated HMAC_Init, use HMAC_Init_ex
bnoordhuis Jun 22, 2016
8be9d0a
src: fix use-after-return in zlib bindings
bnoordhuis Jun 22, 2016
6d2779d
src: fix bad logic in uid/gid checks
bnoordhuis Jun 22, 2016
1e66668
tls: catch `certCbDone` exceptions
indutny May 20, 2016
b68e685
build: add v8 requirement to test-v8* in Makefile
targos Jun 29, 2016
110ce55
build: use BUILDTYPE when building V8 in Makefile
targos Jun 30, 2016
fcc01d3
doc: add `added:` information for assert
Trott May 11, 2016
a8e5be1
doc: add `added:` information for child_process
addaleax May 23, 2016
3391fc7
doc: add `added: ` data for cli.md
Trott May 25, 2016
d860b7f
doc: add `added:` information for console
edsadr May 26, 2016
17f7199
doc: add `added:` information for dns
julianduque May 27, 2016
636450d
doc: add `added:` information for https
addaleax Jun 23, 2016
1046532
doc: add `added` information for net
Jun 3, 2016
9218395
doc: add `added:` information for os
bengl May 6, 2016
aed035a
doc: add `added:` information for path
julianduque May 26, 2016
496cf8a
doc: add `added:` information for punycode
firedfox May 17, 2016
65c09f6
doc: add `added:` information for querystring
bengl May 5, 2016
b1fc554
doc: add `added:` information for readline
julianduque May 26, 2016
5bb3651
doc: add `added:` information for repl
addaleax Jun 10, 2016
df19fcf
doc: add `added:` info for `string_decoder`
Trott May 13, 2016
44e2ebf
doc: add `added:` in for `tty`
Trott May 16, 2016
1e72bf1
doc: add `added:` information for url
bengl May 5, 2016
e5392f0
doc: add `added:` information for v8
Trott May 11, 2016
3622c7d
doc: add `added:` information for vm
addaleax May 27, 2016
bb9b959
doc: add `added:` information for zlib
addaleax May 18, 2016
cd43026
doc: add `added:` information for timers
addaleax Jun 30, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
doc: add added: info for string_decoder
PR-URL: #6741
Ref: #6578
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Roman Klauke <romaaan.git@gmail.com>
  • Loading branch information
Trott authored and addaleax committed Jul 12, 2016
commit df19fcf3fedc75479ad68f1e594545d26d791663
9 changes: 9 additions & 0 deletions doc/api/string_decoder.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,22 @@ console.log(decoder.write(euro));
```

## Class: StringDecoder
<!-- YAML
added: v0.1.99
-->

Accepts a single argument, `encoding` which defaults to `'utf8'`.

### decoder.end()
<!-- YAML
added: v0.9.3
-->

Returns any trailing bytes that were left in the buffer.

### decoder.write(buffer)
<!-- YAML
added: v0.1.99
-->

Returns a decoded string.