diff options
author | isaacs <i@izs.me> | 2012-10-11 15:53:11 -0700 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-10-11 16:46:18 -0700 |
commit | 061f2075cf81017cdb40de80533ba18746743c94 (patch) | |
tree | 35f6b2608572336927f93c1fb7c36298e22ebf0f /doc/api/string_decoder.markdown | |
parent | d7c45ea7d03de5c4a6c71b34780150fcd1e6314c (diff) | |
download | android-node-v8-061f2075cf81017cdb40de80533ba18746743c94.tar.gz android-node-v8-061f2075cf81017cdb40de80533ba18746743c94.tar.bz2 android-node-v8-061f2075cf81017cdb40de80533ba18746743c94.zip |
string_decoder: Add 'end' method, do base64 properly
Diffstat (limited to 'doc/api/string_decoder.markdown')
-rw-r--r-- | doc/api/string_decoder.markdown | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/api/string_decoder.markdown b/doc/api/string_decoder.markdown index 2ad2fb1e4b..b8a6252d66 100644 --- a/doc/api/string_decoder.markdown +++ b/doc/api/string_decoder.markdown @@ -19,6 +19,10 @@ additional support for utf8. Accepts a single argument, `encoding` which defaults to `utf8`. -### StringDecoder.write(buffer) +### decoder.write(buffer) -Returns a decoded string.
\ No newline at end of file +Returns a decoded string. + +### decoder.end() + +Returns any trailing bytes that were left in the buffer. |