Browse Source

doc: sort string_decoder alphabetically

Reorders, with no contextual changes, the string_decode documentation
alphabetically.

PR-URL: https://github.com/nodejs/node/pull/3662
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
process-exit-stdio-flushing
Tristian Flanagan 9 years ago
committed by James M Snell
parent
commit
16f9ba0bc8
  1. 8
      doc/api/string_decoder.markdown

8
doc/api/string_decoder.markdown

@ -19,10 +19,10 @@ additional support for utf8.
Accepts a single argument, `encoding` which defaults to `utf8`. Accepts a single argument, `encoding` which defaults to `utf8`.
### decoder.write(buffer)
Returns a decoded string.
### decoder.end() ### decoder.end()
Returns any trailing bytes that were left in the buffer. Returns any trailing bytes that were left in the buffer.
### decoder.write(buffer)
Returns a decoded string.

Loading…
Cancel
Save