diff --git a/doc/api/string_decoder.markdown b/doc/api/string_decoder.markdown index 4189923b97..885af7745a 100644 --- a/doc/api/string_decoder.markdown +++ b/doc/api/string_decoder.markdown @@ -19,10 +19,10 @@ additional support for utf8. Accepts a single argument, `encoding` which defaults to `utf8`. -### decoder.write(buffer) - -Returns a decoded string. - ### decoder.end() Returns any trailing bytes that were left in the buffer. + +### decoder.write(buffer) + +Returns a decoded string.